]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt298: disable IRQ when jack is NULL
authorBard Liao <bardliao@realtek.com>
Mon, 28 Nov 2016 05:24:06 +0000 (13:24 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 Nov 2016 11:36:27 +0000 (11:36 +0000)
commitacc48af21c905eb43c6a8609a5782ebfae0cd14c
treefe23440c3cfc66382d895fba352b1c263401d02e
parenta245803230f587f66ceddc152f3504b2a960aac2
ASoC: rt298: disable IRQ when jack is NULL

Disable IRQ when jack is NULL in rt298_mic_detect. So machine driver
can use it in suspend/resume.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt298.c