ASoC: Intel: bytcr_rt5651: Add quirk micbias OVCD configuration
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Mar 2018 14:36:02 +0000 (15:36 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Mar 2018 14:18:13 +0000 (14:18 +0000)
commit8ffaa6a136e6f30e053e78fb9742c7748bef8576
tree589461bfff7d11a2757afcbda6ad080f8ac8d753
parentaed859a2c7ac8c44ba9b3a6f82b5f08da8a0a975
ASoC: Intel: bytcr_rt5651: Add quirk micbias OVCD configuration

Add support for setting the micbias OVCD limits device-properties through
quirks.

And set the limits for this to 2000uA with a scale-factor of 0.75 for the
KIANO SlimNote 14.2 device, which is the only device on which
jack-detection is currently enabled.

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/intel/boards/bytcr_rt5651.c