ASoC: rt5645: change micbias widget type to supply.
authorBard Liao <bardliao@realtek.com>
Wed, 3 Jan 2018 12:39:01 +0000 (13:39 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jan 2018 12:08:49 +0000 (12:08 +0000)
commitbd70b19e9e7e87ad330d820386774f304e74d112
tree4888a1a2dc8be3a451f67c92b61b7887b583ca5f
parentb70b309950418437bbd2a30afd169c4f09dee3e5
ASoC: rt5645: change micbias widget type to supply.

Register "micbias1" and "micbias2" to supply widgets as modern drivers do.

This should not cause any (new) issues for existing users of the codec,
since micbias support is broken anyways. Micbias support needs the
RT5645_MICBIAS?_POW_CTRL_SEL bits in the RT5645_GEN_CTRL2 register to be
updated when enabled/disabled which we currently do not do.

The updating of these bits will be fixed in a follow-up commit.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c