]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Replace constant hw_variant from Intel Bluetooth firmware filename
authorTedd Ho-Jeong An <tedd.an@intel.com>
Tue, 28 Jun 2016 15:56:39 +0000 (08:56 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 10:20:57 +0000 (12:20 +0200)
commit42d02c390e0c0ee9e2a458abf881f6ea043fe916
treed968f29e599970392f2d0446c4a688d4386eb4b6
parent1ef3125a0834f6259a373ac75765b8788ba567af
Bluetooth: Replace constant hw_variant from Intel Bluetooth firmware filename

The format of Intel Bluetooth firmware filename for bootloader product
is ibt-<hw_variant>-<device_revision_id>.sfi

Currently the driver uses a constant value 11 (0x0b) for hw_variant
to support LnP/SfP product. But new product like WsP product has
a different value such as 12 (0x0c).

To support the multiple products, this patch replaces the constant
value of hw_variant to the actual hw_variant value read from
the device.

Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c