]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (11812): Siano: smsusb - add big endian support
authorUri Shkolnik <uris@siano-ms.com>
Thu, 14 May 2009 19:27:16 +0000 (16:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:14:14 +0000 (19:14 -0300)
Add support for big endien target hosts, which
use USB interface.

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smsusb.c

index 71c65f544c072911cb326f8614097378448e2618..5cda93889e264fb56304e232aae0ae9a7c594db6 100644 (file)
@@ -73,6 +73,7 @@ static void smsusb_onresponse(struct urb *urb)
        if (urb->actual_length > 0) {
                struct SmsMsgHdr_ST *phdr = (struct SmsMsgHdr_ST *) surb->cb->p;
 
+               smsendian_handle_message_header(phdr);
                if (urb->actual_length >= phdr->msgLength) {
                        surb->cb->size = phdr->msgLength;