Bluetooth: hci_bcm: Disallow set_baudrate for BCM4354
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Tue, 26 Nov 2019 07:17:29 +0000 (08:17 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 27 Nov 2019 07:09:49 +0000 (09:09 +0200)
commit5d6f391073d5c1c903ac12be72c66b96b2ae93f4
tree544b2ccb59451acf4fa1b347bee3b49e1b63e754
parent34682110abc50ffea7e002b0c2fd7ea9e0000ccc
Bluetooth: hci_bcm: Disallow set_baudrate for BCM4354

Without updating the patchram, the BCM4354 does not support a higher
operating speed. The normal bcm_setup follows the correct order
(init_speed, patchram and then oper_speed) but the serdev driver will
set the operating speed before calling the hu->setup function. Thus,
for the BCM4354, don't set the operating speed before patchram.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_bcm.c