aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/siano/smsusb.c
diff options
context:
space:
mode:
authorUri Shkolnik <uris@siano-ms.com>2009-05-14 16:27:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 19:14:14 -0300
commit9c9c68a8c06623b1f1b68652b1a3bf6d8ef415df (patch)
tree177a14835a9b4b4d8a0b622247a5396fd5a4c787 /drivers/media/dvb/siano/smsusb.c
parent57594a586f3353286d64c30f397494a834cac238 (diff)
V4L/DVB (11812): Siano: smsusb - add big endian support
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>
Diffstat (limited to 'drivers/media/dvb/siano/smsusb.c')
-rw-r--r--drivers/media/dvb/siano/smsusb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c
index 71c65f544c0..5cda93889e2 100644
--- a/drivers/media/dvb/siano/smsusb.c
+++ b/drivers/media/dvb/siano/smsusb.c
@@ -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;