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)
commit57d9d7c32fc24ca4de49392fec1fdd3db1f58e92
treebfe22a5f7e3d40e1470d42285b9d8b163b12c56f
parent3d7719d3cc8efe88be4c72cb7cbb0d866ed7d1b2
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