android_kernel_xiaomi_sm8350/drivers/bluetooth
Harvey Harrison c5ec514016 bluetooth: hci_bcsp.c small cleanups/api users
Use bitrev16 from lib/bitrev.c.

Use the get_unaligned_be16 to get the crc from the packet, create a
small helper function for this.

Fix a shadowed variable sparse warning:
drivers/bluetooth/hci_bcsp.c:218:26: warning: symbol 'hdr' shadows an earlier one
drivers/bluetooth/hci_bcsp.c:187:5: originally declared here

[akpm@linux-foundation.org: select CONFIG_BITREVERSE, noted by akinobu.mita@gmail.com]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-10 12:48:45 -07:00
..
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c drivers/bluetooth/bpa10x.c: fix memleak 2008-02-05 03:08:45 -08:00
bt3c_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
btsdio.c drivers/bluetooth/btsdio.c: fix double-free 2008-02-05 03:09:17 -08:00
btuart_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
btusb.c
dtl1_cs.c
hci_bcsp.c bluetooth: hci_bcsp.c small cleanups/api users 2008-06-10 12:48:45 -07:00
hci_h4.c
hci_ldisc.c tty: add throttle/unthrottle helpers 2008-04-30 08:29:47 -07:00
hci_ll.c
hci_uart.h
hci_usb.c hci_usb: remove code obfuscation 2008-04-19 18:17:26 -07:00
hci_usb.h hci_usb.h: fix hard-to-trigger race 2008-05-02 16:45:10 -07:00
hci_vhci.c
Kconfig bluetooth: hci_bcsp.c small cleanups/api users 2008-06-10 12:48:45 -07:00
Makefile