ASoC: rt5651: Configure jack-detect source through a device-property
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Mar 2018 14:35:51 +0000 (15:35 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Mar 2018 12:45:03 +0000 (12:45 +0000)
commitf0c2a330d99ef81519dc809d8b6a7dafe39b0933
tree732117aa13e1621165d16d4ee6823a8b37bd35f6
parent9db7d4b32cbccb5807e2e1f22e2fafc80034ee6d
ASoC: rt5651: Configure jack-detect source through a device-property

Configure the jack-detect source through a device-property which can be
set by code outside of the codec driver. Rather then putting platform
specific DMI quirks inside the generic codec driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5651.h
sound/soc/codecs/rt5651.c