ASoC: Name jack GPIOs based on jack not codec
authorStephen Warren <swarren@nvidia.com>
Fri, 1 Apr 2011 20:50:43 +0000 (14:50 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Apr 2011 12:43:23 +0000 (21:43 +0900)
commit363618f013f2f11a1089b610748beb5de93b8630
treec0fa9e28614f25344dd4fc129e26b1c0b81a022c
parentf94f3cb37a1c4d44dd2070cc4a6165689bda9c92
ASoC: Name jack GPIOs based on jack not codec

snd_soc_jack_gpio has a name field. Use that name when registering the IRQ,
since this is far more informative than the codec driver name. This shows
up in /proc/interrupts.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-jack.c