mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Bluetooth: btusb: handle usb_submit_urb error similarly
@ 2011-10-09 10:11 Paul Bolle
  0 siblings, 0 replies; only message in thread
From: Paul Bolle @ 2011-10-09 10:11 UTC (permalink / raw)
  To: Marcel Holtmann, Gustavo F. Padovan; +Cc: linux-bluetooth, linux-kernel

0) These two patches are follow-ups to commit
4935f1c164ac528dff3538f97953b385ba500710 ("Bluetooth: btusb: be quiet on
device disconnect"). One difference with that commit is that I stopped
adding comments explaining -EPERM and -ENODEV, because it seemed a bit
silly to repeat those comments that often.

1) Note that I haven't actually ever seen the errors I now hide (in case
of "urb is being killed" or "device got disconnected") in the second
patch, so I'd appreciate a more careful review of that patch.

2) Also note that there's a call of usb_submit_urb() in play_deferred()
which never prints an error. Should it do that if usb_submit_urb()
returns a negative value?

Paul Bolle (2):
  Bluetooth: btusb: also be quiet when suspending
  Bluetooth: btusb: hide more usb_submit_urb errors

 drivers/bluetooth/btusb.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

-- 
1.7.4.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-09 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-09 10:11 [PATCH 0/2] Bluetooth: btusb: handle usb_submit_urb error similarly Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®