ALSA: cs5535 - Fix an endianness conversion
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 20 Nov 2011 20:57:49 +0000 (23:57 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Nov 2011 11:03:55 +0000 (12:03 +0100)
commit27533df80e93dc164e39d47281bbbd608f9014a6
treeeed1ecf3a90e32e884c154f169a88d24de4803ab
parentdbd1b5473ce8ae40fe7385eacc9294355eec0676
ALSA: cs5535 - Fix an endianness conversion

desc->size is supposed to be a le16 type.  On a big endian system the
current code will set ->size to zero.  We fixed a similar bug
on the next line but missed this one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio_pcm.c