linux/sound/usb
Karsten Wiese f600f6c482 ALSA: us122l: Fix signedness in comparisions
Within 2.6.30's mergewindow, struct urb's transfer_buffer_length has become
unsigned. This changed an "int > int" comparision to an "unsigned > int" one
in snd_usb_122l.
Fix this by using a local int variable instead of urb->transfer_buffer_length
in comparisions.

Shorten playback_prep_freqn() a bit and tweak error-paths in
usb_stream_prepare_playback().

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-17 15:24:07 +02:00
..
caiaq Merge branch 'topic/usb-caiaq' into for-linus 2009-03-24 00:36:23 +01:00
usx2y ALSA: us122l: Fix signedness in comparisions 2009-04-17 15:24:07 +02:00
Kconfig ALSA: snd-usb-caiaq: support for two more audio devices 2009-01-16 11:36:47 +01:00
Makefile ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usbaudio.c sound: usb-audio: allow period sizes less than 1 ms 2009-04-07 04:11:28 +02:00
usbaudio.h ALSA: snd-usb-audio: support for Edirol UA-4FX device 2008-10-10 13:41:48 +02:00
usbmidi.c sound: usb-audio: fix uninitialized variable with M-Audio MIDI interfaces 2009-02-16 15:31:48 +01:00
usbmixer_maps.c ALSA: usb-audio - Quirk for Serato phono 2009-01-18 18:48:03 +01:00
usbmixer.c Merge branch 'topic/usb-audio' into for-linus 2009-03-24 00:36:22 +01:00
usbquirks.h Merge branch 'topic/usb-audio' into for-linus 2009-03-24 00:36:22 +01:00