diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-03-14 08:06:12 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 10:38:20 +0100 |
commit | 3e964432f56f05a8ef639902796e476456b230ad (patch) | |
tree | 0381d74c7b1ecd90b856225b2b487d60cb9cfa85 /sound | |
parent | ede3531e8ce2deb81e477e18d72ef10efeb20ebe (diff) | |
download | kernel_samsung_tuna-3e964432f56f05a8ef639902796e476456b230ad.zip kernel_samsung_tuna-3e964432f56f05a8ef639902796e476456b230ad.tar.gz kernel_samsung_tuna-3e964432f56f05a8ef639902796e476456b230ad.tar.bz2 |
[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 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: |