-
由 Karsten Wiese 提交于
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: NKarsten Wiese <fzu@wemgehoertderstaat.de> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
f600f6c4