mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
BT: resolve bt remote re-connected fail [1/1]
PD#SWPL-2735 Problem: bt remote re-connected fail Solution: control bluetooth opwer up Verify: Verifying on Public Edition r311 Change-Id: I8c74442894f606d5afd992e52d6c80bada0aed9f Signed-off-by: Qiu Zeng <qiu.zeng@amlogic.com>
This commit is contained in:
@@ -281,8 +281,13 @@ static int bt_probe(struct platform_device *pdev)
|
||||
#else
|
||||
pdata = (struct bt_dev_data *)(pdev->dev.platform_data);
|
||||
#endif
|
||||
|
||||
bt_device_init(pdata);
|
||||
if (pdata->power_down_disable == 1) {
|
||||
pdata->power_down_disable = 0;
|
||||
bt_device_on(pdata);
|
||||
pdata->power_down_disable = 1;
|
||||
}
|
||||
|
||||
/* default to bluetooth off */
|
||||
/* rfkill_switch_all(RFKILL_TYPE_BLUETOOTH, 1); */
|
||||
/* bt_device_off(pdata); */
|
||||
|
||||
Reference in New Issue
Block a user