diff options
author | Bard Liao <bardliao@realtek.com> | 2017-06-28 14:49:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-28 19:33:31 +0200 |
commit | 895750228c9d3361ed82e9786322604de3232466 (patch) | |
tree | f34e5a78b9ca2910b146b5eefba3171227f0a816 /include/sound | |
parent | ASoC: rt5645: read jd1_1 status for jd detection (diff) | |
download | linux-895750228c9d3361ed82e9786322604de3232466.tar.xz 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')
-rw-r--r-- | include/sound/rt5645.h | 4 |
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 |