Home
last modified time | relevance | path

Searched hist:f0a70a04ca10d07a383a89edea142e3cbab1f2ca (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/bluetooth/
H A Dhci_intel.cdiff f0a70a04ca10d07a383a89edea142e3cbab1f2ca Fri Aug 12 01:02:44 CEST 2016 Bart Van Assche <bart.vanassche@sandisk.com> Bluetooth: btusb, hci_intel: Fix wait_on_bit_timeout() return value checks

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.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
H A Dbtusb.cdiff f0a70a04ca10d07a383a89edea142e3cbab1f2ca Fri Aug 12 01:02:44 CEST 2016 Bart Van Assche <bart.vanassche@sandisk.com> Bluetooth: btusb, hci_intel: Fix wait_on_bit_timeout() return value checks

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.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>