]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5651: Remove "JD Power" dapm supply
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Feb 2018 10:46:54 +0000 (11:46 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 1 Mar 2018 19:13:06 +0000 (19:13 +0000)
commit5b8e177ef6c997ed2759875a2337756cf420857c
treebfe22a5f7e3d40e1470d42285b9d8b163b12c56f
parent9bf49ba1ec5af20deb57758db1e2db33b82af3a3
ASoC: rt5651: Remove "JD Power" dapm supply

Remove the "JD power" dapm supply which gets force-enabled once when
using jack-detect and never gets disabled again.

Since the PWR_JD_M bit simply needs to be always on when using jack-detect
there is no need to have it tracked by dapm, instead we can simply set it
to 1 once when initializing the jack-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