# HG changeset patch # User Uri Shkolnik <uris@xxxxxxxxxxxx> # Date 1242323662 -10800 # Node ID 483a3656a227acbceb26da96b02bebd0058a3961 # Parent f93a86c6f9785cb60e015e811ddfca6850135887 [0905_11] Siano: smsusb - add big endien support From: Uri Shkolnik <uris@xxxxxxxxxxxx> Add support for big endien target hosts, which use USB interface. Priority: normal Signed-off-by: Uri Shkolnik <uris@xxxxxxxxxxxx> diff -r f93a86c6f978 -r 483a3656a227 linux/drivers/media/dvb/siano/smsusb.c --- a/linux/drivers/media/dvb/siano/smsusb.c Thu May 14 20:49:10 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smsusb.c Thu May 14 20:54:22 2009 +0300 @@ -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; -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html