From: Zhang Jiejing Date: Wed, 19 Jan 2011 10:36:07 +0000 (+0800) Subject: ENGR00138201 MX53_SMD: BT: add delay after BT chip reset X-Git-Tag: v3.0.35-fsl~2434 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae7007d710f94dfdfea8f00a69d4c04f8d46d2c0;p=karo-tx-linux.git ENGR00138201 MX53_SMD: BT: add delay after BT chip reset add 100ms delay after BT chip reset, make it work stable. Signed-off-by: Zhang Jiejing --- diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index eb2357e3dc83..7fcb79495d05 100755 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c @@ -523,6 +523,8 @@ static void mx53_smd_bt_reset(void) /* pull up after power supply BT */ gpio_set_value(MX53_SMD_BT_RESET, 1); gpio_free(MX53_SMD_BT_RESET); + msleep(100); + /* Bluetooth need some time to reset */ } static int mx53_smd_bt_power_change(int status)