commit | 917536aeb88d34e06c1353b0dd144f0987bb66bd | [log] [tgz] |
---|---|---|
author | John Lin <john.lin@realtek.com> | Mon Sep 21 14:12:01 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 22 09:46:33 2015 -0700 |
tree | a472a906ed70ee509561499ee3d39dd5528278e2 | |
parent | e9159e7577cfd1ac8b3c5ea8916ad37bcd87e629 [diff] |
ASoC: rt5645: Add jd_invert for Broadwell Broadwell can not triger the IRQ falling and rising simultaneously, so it can not detect jack-in and jack-out simultaneously. We add a flag "jd_invert" to platform data. If this flag is set, codec IRQ will be set to invert that forces IRQ as pulse when jack-in and jack-out. Signed-off-by: John Lin <john.lin@realtek.com> Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>