Skip to content

Commit

Permalink
[ALSA] usb-audio: add error message about missing split iso support
Browse files Browse the repository at this point in the history
Modules: USB generic driver

Add an error message for -ENOSYS for situations when split iso support
is needed but not enabled.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Mar 22, 2006
1 parent ede3531 commit 3e96443
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,10 @@ static const char *usb_error_string(int err)
return "device disabled";
case -EHOSTUNREACH:
return "device suspended";
#ifndef CONFIG_USB_EHCI_SPLIT_ISO
case -ENOSYS:
return "enable CONFIG_USB_EHCI_SPLIT_ISO to play through a hub";
#endif
case -EINVAL:
case -EAGAIN:
case -EFBIG:
Expand Down

0 comments on commit 3e96443

Please sign in to comment.