diff options
author | Karsten Wiese <fzu@wemgehoertderstaat.de> | 2009-04-16 19:35:01 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-17 15:24:07 +0200 |
commit | f600f6c4824d7e40be370f7e26ab0fbc3f6f911c (patch) | |
tree | 5aeb05a46ddcd28d6ac12ee7a68e8d07fc95cd3e /sound/usb/usx2y/Makefile | |
parent | 0882e8dd3aad33eca41696d463bb896e6c8817eb (diff) |
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>
Diffstat (limited to 'sound/usb/usx2y/Makefile')
0 files changed, 0 insertions, 0 deletions