diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-03-04 15:35:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-07 13:45:03 +0100 |
commit | f0c2a330d99ef81519dc809d8b6a7dafe39b0933 (patch) | |
tree | 732117aa13e1621165d16d4ee6823a8b37bd35f6 /include/sound | |
parent | ASoC: rt5651: Add devicetree-bindings for jack-detect (diff) | |
download | linux-f0c2a330d99ef81519dc809d8b6a7dafe39b0933.tar.xz linux-f0c2a330d99ef81519dc809d8b6a7dafe39b0933.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rt5651.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h index 1612462bf5ad..725b36c329d0 100644 --- a/include/sound/rt5651.h +++ b/include/sound/rt5651.h @@ -11,6 +11,10 @@ #ifndef __LINUX_SND_RT5651_H #define __LINUX_SND_RT5651_H +/* + * Note these MUST match the values from the DT binding: + * Documentation/devicetree/bindings/sound/rt5651.txt + */ enum rt5651_jd_src { RT5651_JD_NULL, RT5651_JD1_1, |