1
0
Fork 0
alistair23-linux/sound/usb/usx2y
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
..
Makefile ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
us122l.c ALSA: Return proper error code at probe in sound/usb/* 2009-01-12 15:21:55 +01:00
us122l.h ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usX2Yhwdep.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
usX2Yhwdep.h [ALSA] Remove xxx_t typedefs: USB-USX2Y 2006-01-03 12:19:56 +01:00
usb_stream.c ALSA: us122l: Fix signedness in comparisions 2009-04-17 15:24:07 +02:00
usb_stream.h ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usbus428ctldefs.h [ALSA] Remove xxx_t typedefs: USB-USX2Y 2006-01-03 12:19:56 +01:00
usbusx2y.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
usbusx2y.h [ALSA] semaphore -> mutex (Archs, misc buses) 2006-03-22 10:25:43 +01:00
usbusx2yaudio.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
usx2y.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usx2yhwdeppcm.c vm audit: add VM_DONTEXPAND to mmap for drivers that need it 2008-02-04 07:55:38 -08:00
usx2yhwdeppcm.h ALSA: sound/usb/usx2y: fix sparse warning: Should it be static? 2009-02-26 09:57:17 +01:00