commit | f5ede8dcc3ec1fe5344f0d30717931a44e630631 | [log] [tgz] |
---|---|---|
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | Thu Jan 21 14:41:12 2016 +0000 |
committer | Mark Brown <broonie@kernel.org> | Fri Jan 22 16:42:23 2016 +0000 |
tree | da5101a6d1e95d7b7103f008d39a780a0c0db743 | |
parent | 822ad70a2f5c420da5baa9f4354e6b7813ca6da9 [diff] |
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>