ASoC: rt5670: export jack suspend/resume APIs
authorBard Liao <bardliao@realtek.com>
Wed, 11 Mar 2015 03:42:45 +0000 (11:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2015 12:08:20 +0000 (12:08 +0000)
commitcc3c340d28b9f730fdc6bc5caa77e3bbd1e2377c
treebe20715854692094a08a2b1af955505117357571
parentd3ef70543429b754dacc87fc68c30c2c34502337
ASoC: rt5670: export jack suspend/resume APIs

We force enable "Mic Det Power" when a jack is inserted. Also, we
set codec idle_bias_off = true. As a result, codec driver will not
suspend as we expect.

On Braswell, we don't need the jack detection when suspend but need
it after resume, so export the jack suspend/resume APIs which are
provided for machine driver to control during suspend/resume.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5670.h
This page took 0.025642 seconds and 5 git commands to generate.