diff options
author | Bard Liao <bardliao@realtek.com> | 2017-06-28 14:49:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-28 18:33:31 +0100 |
commit | 895750228c9d3361ed82e9786322604de3232466 (patch) | |
tree | f34e5a78b9ca2910b146b5eefba3171227f0a816 /include/sound | |
parent | 6b5da66322c50b4fa22f9343dcb968496f831361 (diff) | |
download | op-kernel-dev-895750228c9d3361ed82e9786322604de3232466.zip op-kernel-dev-895750228c9d3361ed82e9786322604de3232466.tar.gz |
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 a5cf615..c427f10 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 |