diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-01 09:45:53 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-01 09:45:53 +1100 |
commit | a1484a9fe9dfa617650fb4890e11b8faceb10dd8 (patch) | |
tree | 406357e744dcbb776f46f0684dfe200effe7709b /arch/arm/mach-pxa/mioa701.c | |
parent | 9bd062d9eaf9e790330f37d9f4518e1b95131f6c (diff) | |
parent | af38d90d6a5e135b546a3f86222ba2ad895ba4ae (diff) |
Merge commit 'arm-current/master'
Diffstat (limited to 'arch/arm/mach-pxa/mioa701.c')
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index 0842c531ee4d..782903fe9c6c 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c @@ -565,7 +565,7 @@ static int mioa701_sys_suspend(struct sys_device *sysdev, pm_message_t state) u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); /* Devices prepare suspend */ - is_bt_on = gpio_get_value(GPIO83_BT_ON); + is_bt_on = !!gpio_get_value(GPIO83_BT_ON); pxa2xx_mfp_set_lpm(GPIO83_BT_ON, is_bt_on ? MFP_LPM_DRIVE_HIGH : MFP_LPM_DRIVE_LOW); |