diff options
author | Alan Tull <r80115@freescale.com> | 2010-10-05 12:26:55 -0500 |
---|---|---|
committer | Alan Tull <r80115@freescale.com> | 2010-10-05 12:26:55 -0500 |
commit | 7bb6acfa4d2e4fe70a4854ad9ce6d828db0b1d33 (patch) | |
tree | 81a10326b71c3ec8a333a618bf6a2f7fcd31d86a /arch | |
parent | d5bb7414e385f2ac8ad5cf842633325a1aafb6ba (diff) |
ENGR00132100 invert headphone detect logic level
Fixes issue where headpone detect is inverted.
Signed-off-by: Alan Tull <r80115@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/mx50_rdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx50_rdp.c b/arch/arm/mach-mx5/mx50_rdp.c index ee82d920e0ec..8a3ae401f5ad 100644 --- a/arch/arm/mach-mx5/mx50_rdp.c +++ b/arch/arm/mach-mx5/mx50_rdp.c @@ -855,7 +855,7 @@ static int mxc_sgtl5000_amp_enable(int enable) static int headphone_det_status(void) { - return (gpio_get_value(HP_DETECT) != 0); + return (gpio_get_value(HP_DETECT) == 0); } static struct mxc_audio_platform_data sgtl5000_data = { |