[0905_11] Siano: smsusb - add big endien support
PATCH 1/1 [0905_11] Siano: smsusb - add big endien support
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1242323662 -10800
# Node ID 483a3656a227acbceb26da96b02bebd0058a3961 # Parent f93a86c6f9785cb60e015e811ddfca6850135887 [0905_11] Siano: smsusb - add big endien support
From: Uri Shkolnik <[email protected]>
Add support for big endien target hosts, which
use USB interface.
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>
linux/drivers/media/dvb/siano/smsusb.c +1 -0
@@ -78,6 +78,7 @@ static void smsusb_onresponse(struct urbif ((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;