commit | 3419ae781f1592b3d367107db6500090495490cd | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Mon Jun 11 11:27:19 2012 -0600 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Jun 12 11:38:48 2012 +0800 |
tree | cdf058925b8126d184fd6dfaa003e2128ca730de | |
parent | 9c699e0a9566cfb6245284ce4857d7a06b02f3b1 [diff] |
ASoC: tegra+wm8903: turn of mic detect when card is removed If mic detect is left enabled and the WM8903 detects a status change, the WM8903 driver will make a callback against the free()d jack, which will cause a crash. This problem can be triggered by fully initializing an audio card, then removing and re-inserting the machine driver module. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>