]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b5a2cf24d7743ff48686c9de1a42a82bf45ce30
treeeed1ecf3a90e32e884c154f169a88d24de4803ab
parent236c4fe592ec15b442e425dc41e0e46217e8c912
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