Hi Bart,
On Thu, Aug 11, 2016, Bart Van Assche wrote:
wait_on_bit_timeout() returns one of the following three values:
* 0 to indicate success.
* -EINTR to indicate that a signal has been received;
* -EAGAIN to indicate timeout;
Make the wait_on_bit_timeout() callers check for these values.
This patch has not yet been tested.
Signed-off-by: Bart Van Assche <redacted>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <redacted>
Cc: Johan Hedberg <redacted>
---
drivers/bluetooth/btusb.c | 5 ++---
drivers/bluetooth/hci_intel.c | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
The patch has now been applied to bluetooth-next. Thanks.
Johan