diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-03-14 02:06:12 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:38:20 -0500 |
commit | 3e964432f56f05a8ef639902796e476456b230ad (patch) | |
tree | 0381d74c7b1ecd90b856225b2b487d60cb9cfa85 | |
parent | ede3531e8ce2deb81e477e18d72ef10efeb20ebe (diff) |
[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.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) | |||
788 | return "device disabled"; | 788 | return "device disabled"; |
789 | case -EHOSTUNREACH: | 789 | case -EHOSTUNREACH: |
790 | return "device suspended"; | 790 | return "device suspended"; |
791 | #ifndef CONFIG_USB_EHCI_SPLIT_ISO | ||
792 | case -ENOSYS: | ||
793 | return "enable CONFIG_USB_EHCI_SPLIT_ISO to play through a hub"; | ||
794 | #endif | ||
791 | case -EINVAL: | 795 | case -EINVAL: |
792 | case -EAGAIN: | 796 | case -EAGAIN: |
793 | case -EFBIG: | 797 | case -EFBIG: |