summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/affs.rst
diff options
context:
space:
mode:
authorAdam Brickman <Adam.Brickman@cirrus.com>2020-10-01 16:24:25 +0100
committerMark Brown <broonie@kernel.org>2020-10-01 18:26:19 +0100
commit20441614d89867142060d3bcd79cc111d8ba7a8e (patch)
treec5652d0882b51aa65bae76aaa5d03801854dba0a /Documentation/filesystems/affs.rst
parent6bf28e8a05fda0547658fd51d0acc83dcac6c703 (diff)
ASoC: wm_adsp: Pass full name to snd_ctl_notify
A call to wm_adsp_write_ctl() could cause a kernel crash if it does not retrieve a valid kcontrol from snd_soc_card_get_kcontrol(). This can happen due to a missing control name prefix. Then, snd_ctl_notify() crashes when it tries to use the id field. Modified wm_adsp_write_ctl() to incorporate the name_prefix (if applicable) such that it is able to retrieve a valid id field from the kcontrol once the platform has booted. Fixes: eb65ccdb0836 ("ASoC: wm_adsp: Expose mixer control API") Signed-off-by: Adam Brickman <Adam.Brickman@cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20201001152425.8590-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/filesystems/affs.rst')
0 files changed, 0 insertions, 0 deletions