[ALSA] usb-audio: add error message about missing split iso support

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>
This commit is contained in:
Clemens Ladisch 2006-03-14 08:06:12 +01:00 committed by Jaroslav Kysela
parent ede3531e8c
commit 3e964432f5
1 changed files with 4 additions and 0 deletions

View File

@ -788,6 +788,10 @@ static const char *usb_error_string(int err)
return "device disabled"; return "device disabled";
case -EHOSTUNREACH: case -EHOSTUNREACH:
return "device suspended"; 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 -EINVAL:
case -EAGAIN: case -EAGAIN:
case -EFBIG: case -EFBIG: