ASoC: codecs: da7219: Introduce set_jack() callback
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Mon, 31 Oct 2022 16:02:21 +0000 (17:02 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 13:58:13 +0000 (13:58 +0000)
commit4366b7ca88f04237ae654846167db993dbe37397
tree8fd8637b08a1689a789895ce7df655c501d9cd58
parent4b19211435950a78af032c26ad64a5268e6012be
ASoC: codecs: da7219: Introduce set_jack() callback

Codec driver for da7219 implements jack detect functionality, but does
not integrate it with the framework. Platform component drivers are
accessing the functionality through internal da7219_aad_jack_det()
instead.

Address this by implementing set_jack() for the codec.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221031160227.2352630-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c