ASoC: rt5645: Simplify rt5645_enable_push_button_irq
authorNicolas Boichat <drinkcat@chromium.org>
Thu, 16 Jul 2015 05:42:34 +0000 (13:42 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2015 12:10:47 +0000 (13:10 +0100)
commita4e3c5fa955ce0934774f3f3684377dbf2c20eca
tree70943ac79d1c31efbd195c62f8cd7d516dd46742
parentb14c917409f47dbfdff93e69effd6740f6a809f7
ASoC: rt5645: Simplify rt5645_enable_push_button_irq

LDO2/Mic Det Power pins are already enabled/disabled in rt5645_jack_detect
(the jack out code path previously did not disable those if button function
is enabled: modify it to make it so).

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c