summaryrefslogtreecommitdiff
path: root/include/sound/rt5645.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2017-06-28 15:49:38 +0300
committerMark Brown <broonie@kernel.org>2017-06-28 20:33:31 +0300
commitaea086dda2d5df659a7c5d9efe85721e9442a133 (patch)
treea45ea8e29fa9e9c20ebf30543391ee65a18c0d09 /include/sound/rt5645.h
parent895750228c9d3361ed82e9786322604de3232466 (diff)
downloadlinux-aea086dda2d5df659a7c5d9efe85721e9442a133.tar.xz
ASoC: rt5645: add inv_jd1_1 flag
The flag will invert jd1_1 status. Which will be used if the jack connector is normal closed. Signed-off-by: Bard Liao <bardliao@realtek.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5645.h')
-rw-r--r--include/sound/rt5645.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index c427f10a39ae..d0c33a9972b9 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -23,6 +23,8 @@ struct rt5645_platform_data {
unsigned int jd_mode;
/* Use level triggered irq */
bool level_trigger_irq;
+ /* Invert JD1_1 status polarity */
+ bool inv_jd1_1;
};
#endif