Commit 11e29b4a authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Luiz Augusto von Dentz

Bluetooth: NXP: select CONFIG_CRC8

The driver needs both CRC32 and CRC8 to link correctly:

ld: drivers/bluetooth/btnxpuart.o: in function `nxp_serdev_probe':
drivers/bluetooth/btnxpuart.c:1214: undefined reference to
`crc8_populate_msb'
ld: drivers/bluetooth/btnxpuart.o: in function `nxp_send_ack':
drivers/bluetooth/btnxpuart.c:559: undefined reference to `crc8'
ld: drivers/bluetooth/btnxpuart.c:559: undefined reference to `crc8'

Fixes: 3e662aa4453a ("Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 689ca16e
...@@ -469,6 +469,7 @@ config BT_NXPUART ...@@ -469,6 +469,7 @@ config BT_NXPUART
tristate "NXP protocol support" tristate "NXP protocol support"
depends on SERIAL_DEV_BUS depends on SERIAL_DEV_BUS
select CRC32 select CRC32
select CRC8
help help
NXP is serial driver required for NXP Bluetooth NXP is serial driver required for NXP Bluetooth
devices with UART interface. devices with UART interface.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment