Skip to content

Commit 8c1c4f0

Browse files
author
Kirt Hsieh
committed
Bluetooth: Always schedule work on cpu0
For a2dp application, we need tx work operate smoothly. We enforce the work being schedule on the main cpu to improve its performance. Change-Id: Id06c2715c727d1a4f0497b358e4273918d4723d5
1 parent dccfaf6 commit 8c1c4f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bluetooth/hci_ldisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ int hci_uart_tx_wakeup(struct hci_uart *hu)
134134

135135
BT_DBG("");
136136

137-
schedule_work(&hu->write_work);
137+
schedule_work_on(0, &hu->write_work);
138138

139139
return 0;
140140
}

0 commit comments

Comments
 (0)