]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm5110: Unregister compressed platform when driver is removed
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 21 Jan 2016 14:41:12 +0000 (14:41 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jan 2016 16:42:23 +0000 (16:42 +0000)
commit42f7dc686dbf3b15173926beed1a0a3683ec0998
treeda5101a6d1e95d7b7103f008d39a780a0c0db743
parent96a76dd6421db164c4353c18e2717ff0b68d6a7e
ASoC: wm5110: Unregister compressed platform when driver is removed

The driver was not unregistering the compressed platform in
wm5110_remove(). If the codec is built as a module, this would
lead to a NULL pointer deref if the module was unloaded and then
re-probed.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5110.c