summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 19:27:16 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 19:27:16 +0000
commit3e3ae9acd7a21aadc994ca194d5799c0cf441a7a (patch)
tree7932517a9ce613a9fc9d224b7e72a2acb4811467 /linux/drivers/media/dvb/siano
parent5e16d2eb4d2c6cbdb0e47d3918bb2b826748a4c4 (diff)
downloadmediapointer-dvb-s2-3e3ae9acd7a21aadc994ca194d5799c0cf441a7a.tar.gz
mediapointer-dvb-s2-3e3ae9acd7a21aadc994ca194d5799c0cf441a7a.tar.bz2
Siano: smsusb - add big endien support
From: Uri Shkolnik <uris@siano-ms.com> Add support for big endien target hosts, which use USB interface. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/siano')
-rw-r--r--linux/drivers/media/dvb/siano/smsusb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/smsusb.c b/linux/drivers/media/dvb/siano/smsusb.c
index 7f0246fdb..adeb920a5 100644
--- a/linux/drivers/media/dvb/siano/smsusb.c
+++ b/linux/drivers/media/dvb/siano/smsusb.c
@@ -78,6 +78,7 @@ static void smsusb_onresponse(struct urb *urb, struct pt_regs *regs)
if ((urb->actual_length > 0) && (urb->status == 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;