提交 9c9c68a8 编写于 作者: U Uri Shkolnik 提交者: Mauro Carvalho Chehab

V4L/DVB (11812): Siano: smsusb - add big endian support

Add support for big endien target hosts, which
use USB interface.
Signed-off-by: NUri Shkolnik <uris@siano-ms.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 57594a58
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册