]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite64f69477e0a0290c398fcbeab697537cffcc4ff
tree544b2ccb59451acf4fa1b347bee3b49e1b63e754
parentcfb98c443681c8fde8403682782a5a9be41735c8
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