diff options
author | Kejun ZHOU <kejun.zhou@linaro.org> | 2012-02-29 11:34:17 +0800 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-02-29 11:00:42 +0100 |
commit | 789442c999644602d7ad441424eb894f64a7a753 (patch) | |
tree | 1290aaa841cfb81cfb13b5ba1dc7fc46fc7f76a9 /drivers/staging/cg2900/devices-cg2900-ux500.c | |
parent | d0b78cc166e7b7f8d5c1ed609f56e74523425a80 (diff) |
For #860588 Snowball: Bluetooth Turn ON Fails.stable-android-ux500-3.1
Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org>
Diffstat (limited to 'drivers/staging/cg2900/devices-cg2900-ux500.c')
-rw-r--r-- | drivers/staging/cg2900/devices-cg2900-ux500.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/drivers/staging/cg2900/devices-cg2900-ux500.c b/drivers/staging/cg2900/devices-cg2900-ux500.c index 7e7c12ce4a0..5a5734671cb 100644 --- a/drivers/staging/cg2900/devices-cg2900-ux500.c +++ b/drivers/staging/cg2900/devices-cg2900-ux500.c @@ -37,16 +37,10 @@ void dcg2900_u8500_enable_chip(struct cg2900_chip_dev *dev) return; /* - * Due to a bug in CG2900 we cannot just set GPIO high to enable - * the chip. We must wait more than 100 msecs before enabling the - * chip. - * - Set PDB to low. - * - Wait for 100 msecs + * - SET PMU_EN to high + * - Wait for 300usec * - Set PDB to high. */ - gpio_set_value(info->gbf_gpio, 0); - schedule_timeout_uninterruptible(msecs_to_jiffies( - CHIP_ENABLE_PDB_LOW_TIMEOUT)); if (info->pmuen_gpio != -1) { /* @@ -186,16 +180,8 @@ void dcg2900_u5500_enable_chip(struct cg2900_chip_dev *dev) clk_enable(info->lpoclk); /* - * Due to a bug in CG2900 we cannot just set GPIO high to enable - * the chip. We must wait more than 100 msecs before enbling the - * chip. - * - Set PDB to low. - * - Wait for 100 msecs * - Set PDB to high. */ - prcmu_resetout(1, 0); - schedule_timeout_uninterruptible(msecs_to_jiffies( - CHIP_ENABLE_PDB_LOW_TIMEOUT)); prcmu_resetout(1, 1); } |