From patchwork Sun Apr 5 11:44:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 16417 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 n35BhrOs029945 for ; Sun, 5 Apr 2009 11:44:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752340AbZDELoP (ORCPT ); Sun, 5 Apr 2009 07:44:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753230AbZDELoP (ORCPT ); Sun, 5 Apr 2009 07:44:15 -0400 Received: from web110803.mail.gq1.yahoo.com ([67.195.13.226]:42845 "HELO web110803.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752340AbZDELoO (ORCPT ); Sun, 5 Apr 2009 07:44:14 -0400 Received: (qmail 13102 invoked by uid 60001); 5 Apr 2009 11:44:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238931851; bh=eTBjTG1zV7g5O35WAY63l3iFLcDW3t8lpnG0LTr/KG0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=OjuOZFuhnKHQAkW+pCZtml02gp6FFYziONqmrt3JIZzop1sULr2mGxBKZKsLa84NeG8rKksgv76kGh905OT97kAaJjhfuPtk5jHTrXDJ14rUSd7NlapQgyN4nyz5sujJ9+nPRkEUCsQB9FIVWxr3lc0UiprtozcJ47Kvtu0noaI= 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=BXUuIT1z/CSdLPtqMZjv9BGYYBek2e5OqHVx9PuQ/4tCMCoUTJ+sTuVOkud4wxBTNJAJVXlNHlIJCKhBxlYrJ6/8dxrhWeZhULSzmrXB4mMbJ/ntwLTZ/PSdzgsLeO0Wsg30BAcU2MLo/YkqygWOyTtX/AgEq3NTtoH1zvrazbc=; Message-ID: <835564.12852.qm@web110803.mail.gq1.yahoo.com> X-YMail-OSG: mDJyVSMVM1l5v9y7AdPmyDsPfkV_BzAeyn6RPNCKY4pF8sfpkGG50EQgs3tDcqJIt.IhkWrG50P2EUmb2h9xu1FXJTFLf7g0hCRXUtpnwoNm0WWGBzLK.RXaZhQ7xCNtT7haR4aI9vNlDKwABfU_FITxzO0x2STdCij8fT_6rL6D.dkalnZMfjBniiTPFATXSAyCufVp8PtZnUXyvyEmuMjvCwXKgl_oz0BhkL4WG88kxfynK0FjK1JuqpRkxTkJIngWfuWVFyhQCaxCBLCtiYeom6MZ2o6rngduaG9PirrM8L3ExMPI4sgsxzSugEC2S80WzJh.JKZeh7el_W_INUkCsdLgiUyH59.TUqbS Received: from [199.203.99.233] by web110803.mail.gq1.yahoo.com via HTTP; Sun, 05 Apr 2009 04:44:11 PDT X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1 Date: Sun, 5 Apr 2009 04:44:11 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [0904_15] Siano: core header - bind SMS messages endian handling 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 1238758250 -10800 # Node ID 856813745905e07d9fc6be5e136fdf7060c6fc37 # Parent 0ddd2fd20badbf2bb33566a05ff2ea2a6dff8600 [PATCH] [0904_15] Siano: core header - bind SMS messages endian handling From: Uri Shkolnik This patch bind the smsedian (which manipulate the content of Siano's protocol messages) to the smsdvb component. 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 0ddd2fd20bad -r 856813745905 linux/drivers/media/dvb/siano/smsdvb.c --- a/linux/drivers/media/dvb/siano/smsdvb.c Fri Apr 03 14:18:10 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smsdvb.c Fri Apr 03 14:30:50 2009 +0300 @@ -29,7 +29,7 @@ along with this program. If not, see msgLength - sizeof(struct SmsMsgHdr_ST);*/ - /*smsendian_handle_rx_message((struct SmsMsgData_ST *) phdr);*/ + smsendian_handle_rx_message((struct SmsMsgData_ST *) phdr); switch (phdr->msgType) { case MSG_SMS_DVBT_BDA_DATA: @@ -293,7 +293,7 @@ static int smsdvb_stop_feed(struct dvb_d PidMsg.xMsgHeader.msgLength = sizeof(PidMsg); PidMsg.msgData[0] = feed->pid; - /* smsendian_handle_tx_message((struct SmsMsgHdr_ST *)&PidMsg); */ + smsendian_handle_tx_message((struct SmsMsgHdr_ST *)&PidMsg); return smsclient_sendrequest(client->smsclient, &PidMsg, sizeof(PidMsg)); } @@ -304,7 +304,7 @@ static int smsdvb_sendrequest_and_wait(s { int rc; - /* smsendian_handle_tx_message((struct SmsMsgHdr_ST *)buffer); */ + smsendian_handle_tx_message((struct SmsMsgHdr_ST *)buffer); rc = smsclient_sendrequest(client->smsclient, buffer, size); if (rc < 0) return rc;