diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-03-14 10:06:12 +0300 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 12:38:20 +0300 |
commit | 3e964432f56f05a8ef639902796e476456b230ad (patch) | |
tree | 0381d74c7b1ecd90b856225b2b487d60cb9cfa85 /sound | |
parent | ede3531e8ce2deb81e477e18d72ef10efeb20ebe (diff) | |
download | linux-3e964432f56f05a8ef639902796e476456b230ad.tar.xz |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/usbaudio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 45157d3cf789..6fad2c40c77c 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: |