Bluetooth: hci_qca: resolve various warnings
authorNigel Christian <nigel.l.christian@gmail.com>
Wed, 11 Nov 2020 04:55:38 +0000 (23:55 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Nov 2020 09:54:25 +0000 (10:54 +0100)
commit99719449a4a6e4a86e741f8636723e811b843efc
tree037416b5fa5723026c8dfdc249c56a5f5e12f2c8
parent9e80587aba4cdb9f50b2ffc546e2640ef0a33c48
Bluetooth: hci_qca: resolve various warnings

Replace symbolic permissions with octal values. Use usleep_range
for small msec values due to the fact that msleep() less than
20ms may have unexpected behavior/sleep longer.

- https://lkml.org/lkml/2016/8/2/1945
- Documentation/timers/timers-howto.rst

Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c