]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5651: Enable Platform Clock during jack-type detect
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Mar 2018 14:35:55 +0000 (15:35 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Mar 2018 12:54:00 +0000 (12:54 +0000)
commit59c1a6d2ccf9f3e197f51b5b37d2d7100e56d1b3
treef2ab4fd410e24444afa15a08a5fe2a2068d3cc01
parentd0783a31f5dd426869b89834cb967ad6b9869376
ASoC: rt5651: Enable Platform Clock during jack-type detect

When using RCCLK instead of MCLK / PLL1 the OVCD status often gets stuck
at its last value, which breaks jack-type detection.

This commit fixes this by force-enabling the platform clock when doing
jack-type detection.

Tested-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5651.c