From: Stephen Warren Date: Mon, 11 Jun 2012 17:27:19 +0000 (-0600) Subject: ASoC: tegra+wm8903: turn of mic detect when card is removed X-Git-Tag: v3.5-rc4~23^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3419ae781f1592b3d367107db6500090495490cd;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed