summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5645.h
diff options
context:
space:
mode:
authorBard Liao2017-06-28 14:49:37 +0200
committerMark Brown2017-06-28 19:33:31 +0200
commit895750228c9d3361ed82e9786322604de3232466 (patch)
treef34e5a78b9ca2910b146b5eefba3171227f0a816 /include/sound/rt5645.h
parentASoC: rt5645: read jd1_1 status for jd detection (diff)
downloadkernel-qcow2-linux-895750228c9d3361ed82e9786322604de3232466.tar.gz
kernel-qcow2-linux-895750228c9d3361ed82e9786322604de3232466.tar.xz
kernel-qcow2-linux-895750228c9d3361ed82e9786322604de3232466.zip
ASoC: rt5645: rename jd_invert flag in platform data
The jd_invert flag is actually used for level triggered IRQ. Rename it to let code more readable. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index a5cf6152e778..c427f10a39ae 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -21,8 +21,8 @@ struct rt5645_platform_data {
/* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */
unsigned int jd_mode;
- /* Invert JD when jack insert */
- bool jd_invert;
+ /* Use level triggered irq */
+ bool level_trigger_irq;
};
#endif