ASoC: arizona-jack: Move jack-detect variables to struct arizona_priv
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 Mar 2021 15:18:01 +0000 (16:18 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 24 Mar 2021 19:50:14 +0000 (19:50 +0000)
commitbcda8cc4b868782c1a39d722d24f7d2598978389
treea3522ae03f63495c1f97c9133360ee927d0a3658
parentf89c0a87b4066fbb0dc6f8039b211bd79a9ab663
ASoC: arizona-jack: Move jack-detect variables to struct arizona_priv

Move all the jack-detect variables from struct arizona_extcon_info to
struct arizona_priv.

This is part of a patch series converting the arizona extcon driver into
a helper library for letting the arizona codec-drivers directly report jack
state through the standard sound/soc/soc-jack.c functions.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210307151807.35201-8-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona-jack.c
sound/soc/codecs/arizona.h