Skip to contentSkip to conversation

[0905_11] Siano: smsusb - add big endien support

PATCH New Uri Shkolnik 1 participant 1 message May 14, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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

linux/drivers/media/dvb/siano/smsusb.c +1 -0
diff -r f93a86c6f978 -r 483a3656a227 linux/drivers/media/dvb/siano/smsusb.c
@@ -78,6 +78,7 @@ static void smsusb_onresponse(struct urb
 	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;