[ARM] pxa/MioA701: bluetooth resume fix

The G3IPL expects the value at RAM address 0xa020b020 to be
exactly 1 to setup the bluetooth GPIOs properly. The actual
code got a value from gpio_get_value() which was not 1, but
a "not equal to 0" integer.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Eric Miao <eric.miao@marvell.com>

authored by Robert Jarzmik and committed by Eric Miao 844c6f6a 999f6338

+1 -1
+1 -1
arch/arm/mach-pxa/mioa701.c
··· 565 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); 566 567 /* Devices prepare suspend */ 568 - is_bt_on = gpio_get_value(GPIO83_BT_ON); 569 pxa2xx_mfp_set_lpm(GPIO83_BT_ON, 570 is_bt_on ? MFP_LPM_DRIVE_HIGH : MFP_LPM_DRIVE_LOW); 571
··· 565 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); 566 567 /* Devices prepare suspend */ 568 + is_bt_on = !!gpio_get_value(GPIO83_BT_ON); 569 pxa2xx_mfp_set_lpm(GPIO83_BT_ON, 570 is_bt_on ? MFP_LPM_DRIVE_HIGH : MFP_LPM_DRIVE_LOW); 571