summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-03-14 08:06:12 +0100
committerJaroslav Kysela <perex@suse.cz>2006-03-22 10:38:20 +0100
commit3e964432f56f05a8ef639902796e476456b230ad (patch)
tree0381d74c7b1ecd90b856225b2b487d60cb9cfa85
parentede3531e8ce2deb81e477e18d72ef10efeb20ebe (diff)
downloadop-kernel-dev-3e964432f56f05a8ef639902796e476456b230ad.zip
op-kernel-dev-3e964432f56f05a8ef639902796e476456b230ad.tar.gz
[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>
-rw-r--r--sound/usb/usbaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index 45157d3..6fad2c4 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -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:
OpenPOWER on IntegriCloud