android_kernel_xiaomi_sm8350/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
us122l.c ALSA: Return proper error code at probe in sound/usb/* 2009-01-12 15:21:55 +01:00
us122l.h
usb_stream.c ALSA: us122l: Fix signedness in comparisions 2009-04-17 15:24:07 +02:00
usb_stream.h
usbus428ctldefs.h
usbusx2y.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
usbusx2y.h
usbusx2yaudio.c
usx2y.h
usx2yhwdeppcm.c
usx2yhwdeppcm.h ALSA: sound/usb/usx2y: fix sparse warning: Should it be static? 2009-02-26 09:57:17 +01:00
usX2Yhwdep.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
usX2Yhwdep.h