From patchwork Thu May 14 19:27:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 23813 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4EJRJs3026484 for ; Thu, 14 May 2009 19:27:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbZENT1Q (ORCPT ); Thu, 14 May 2009 15:27:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751766AbZENT1Q (ORCPT ); Thu, 14 May 2009 15:27:16 -0400 Received: from web110812.mail.gq1.yahoo.com ([67.195.13.235]:26527 "HELO web110812.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751512AbZENT1P (ORCPT ); Thu, 14 May 2009 15:27:15 -0400 Received: (qmail 40671 invoked by uid 60001); 14 May 2009 19:27:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242329236; bh=/cPUgojjyaKtvKso57REvHYz+dRw9YTgd7KaqYZ3ptc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=G3Cj9yrk3tE2QKRvV3CROmFMNEEk/9ILuL2be1y5ITaeIj1dyYwXxYLSBKuFi+CYVTjYtgBkcj/wPXY+H8UqeOcoXSAbT6OYiXDrOoPh6uN0bJRI5lZT7VmEd46b1jWR7oFFQkRyB/VofW3xF6OW86oVgzK+vwVzI2DHXMpG3AU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=29cGWDpxFzn/6v/BUECq9cHmg7cKYV5EMxbnWv7k6Y6GBJA8tneq9I3C+73brETD/mvzD+HOziYZyrDRNiGfFoybnvF9Qsols6GmrRNkGNLtQkhVeyR+vHFvVTyWPmMVtcQYXdEGHKFr+rcZxYZwfM6Cz+u1Ac+zexhRUKXdMjs=; Message-ID: <759177.40329.qm@web110812.mail.gq1.yahoo.com> X-YMail-OSG: zQJnpvgVM1nTLuoymCjjyNZgE1H5cg5Mdq1nzBWcMAb6umWqsQrc9IVb5xNzaEaUQ11SQoHCmEKAeLqZ303gaE5rx6kqr_JAdJyFN5C3sg0pgrhUq8R3d7McMer5xR8lXcRTnNuQoWiwGjUPXPTLzKnJ01hGrIXhYcyLJUns6_Pqp6aVPbnXNdX4K0aJ8wt4Z0WE3apuYWITA2dQkphkGwfHLwQiXlzHoTIPmcc_wZb4mq0lz4nSa1NBSyUXf8U8FKTsOrUyMR0zImr7dLyWAAip6O6RAMOalk10dmkhED3cSndo2wdlDQ5p3Lm83Fy4sYZZ2n1NRML1.mXj0bU6lLwKjwknUygmBKhbk0Wrb4wbzGS7xksk1ykYHg-- Received: from [199.203.99.233] by web110812.mail.gq1.yahoo.com via HTTP; Thu, 14 May 2009 12:27:16 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Thu, 14 May 2009 12:27:16 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [0905_11] Siano: smsusb - add big endien support To: LinuxML MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1242323662 -10800 # Node ID 483a3656a227acbceb26da96b02bebd0058a3961 # Parent f93a86c6f9785cb60e015e811ddfca6850135887 [0905_11] Siano: smsusb - add big endien support From: Uri Shkolnik Add support for big endien target hosts, which use USB interface. Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;