mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
bt: bt open fail [1/1]
PD#SWPL-191396 Problem: bt open fail Solution: add reset hold time Verify: s5 Change-Id: Idb3006650f139f6d8e3b888702bd89a775754c57 Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
This commit is contained in:
@@ -144,7 +144,9 @@ static void off_def_power(struct bt_dev_data *pdata, unsigned long down_time)
|
||||
} else {
|
||||
set_usb_bt_power(0);
|
||||
}
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_AMLOGIC_RFKILL_INIT_SW_UNBLOCK)
|
||||
if (down_time)
|
||||
msleep(down_time);
|
||||
#endif
|
||||
@@ -172,7 +174,9 @@ static void on_def_power(struct bt_dev_data *pdata, unsigned long up_time)
|
||||
} else {
|
||||
set_usb_bt_power(1);
|
||||
}
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_AMLOGIC_RFKILL_INIT_SW_UNBLOCK)
|
||||
if (up_time)
|
||||
msleep(up_time);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user