From patchwork Thu May 14 19:34:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 23823 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 n4EJeC79027558 for ; Thu, 14 May 2009 19:40:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752047AbZENTkJ (ORCPT ); Thu, 14 May 2009 15:40:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752779AbZENTkJ (ORCPT ); Thu, 14 May 2009 15:40:09 -0400 Received: from web110807.mail.gq1.yahoo.com ([67.195.13.230]:37984 "HELO web110807.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752047AbZENTkI (ORCPT ); Thu, 14 May 2009 15:40:08 -0400 Received: (qmail 48648 invoked by uid 60001); 14 May 2009 19:35:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242329700; bh=OEdGH+JYGKySzgv/ZsxBVLf+RlTUhZVXa/Pys2YZfyI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=wurMpJQCymXHPMgSVhMk52InbD6/VpwON66WMTfNNuK7DCDMDM71bOOshVcohrmMv0TlC2Z1wC3+vm0yUpNyiZ3sWbG+Z+g7XYWupwUWJgPu3xSVZW781ElVn0WhhKbp1JVtn+6miMHBGD8RXEzS/k6j1GfwSrmiqv24N3MLAv0= 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=ajv5M+EvcKHp5zfIMsfEmAyZDXRWhxRfXhUuCxRw/nsp2qrBeNHBopzTuVlDzDVh5LmeAt/inoYorp211j+sTfQ21AiHBqJZ7vXZOsNgbiZoPKa7uVAV3R4ogNXpXwxbnvx4GyGEkVVFACI5yhMEmlMsFAmy4vJcfl9JmaFpp7U=; Message-ID: <992118.47326.qm@web110807.mail.gq1.yahoo.com> X-YMail-OSG: 4nx.2dcVM1mWrsKx9nBQBTWZsIY1Aze2NlXx6xElnaQ53mWxLsnMr.RhGXL54oMuaKUujm0DRl1BqxhUr.vYRpEAzIkFQVEdNxvbXiZjaTIEMBxfn8qr6eSlEEniLJXdx4Kz26aXTs23wY3RIFee7RflzTILgAMdDztIhtPXYxbHQajVR5j1t4tMhc28x2eUVYbr3_s5txhKtKc9LjBzsEasxhOK2OK9xOzx.uMCtV9dydWpsStaprBLUG.yknGc0tSTrQrfgxzWXwzhV3o2PV6wgQYnJ_c6qi_tIXp7Tkjgkk4csoJEUiaGmnH6f3lFA33rlKyJ0xF3uEPkJFcbXRL6l1IOh2s6sEI6LxfRpgx3_0LjnxpIfuPeCA-- Received: from [199.203.99.233] by web110807.mail.gq1.yahoo.com via HTTP; Thu, 14 May 2009 12:34:59 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Thu, 14 May 2009 12:34:59 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [0905_21] Siano: smscards - assign gpio to HPG targets 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 1242328393 -10800 # Node ID 71c60eec8001438fee7e9f2e220a101576d6a219 # Parent 9341c85c499e5052022ffd4ad154e912bffabe59 [0905_21] Siano: smscards - assign gpio to HPG targets From: Uri Shkolnik Assign using the new gpio structures, i/o for exist HPG targets, without removing the old implementation. 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 9341c85c499e -r 71c60eec8001 linux/drivers/media/dvb/siano/sms-cards.c --- a/linux/drivers/media/dvb/siano/sms-cards.c Thu May 14 22:06:52 2009 +0300 +++ b/linux/drivers/media/dvb/siano/sms-cards.c Thu May 14 22:13:13 2009 +0300 @@ -113,6 +113,9 @@ static struct sms_board sms_boards[] = { .name = "Hauppauge WinTV MiniStick", .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", + .board_cfg.leds_power = 26, + .board_cfg.led0 = 27, + .board_cfg.led1 = 28, .led_power = 26, .led_lo = 27, .led_hi = 28, @@ -122,7 +125,9 @@ static struct sms_board sms_boards[] = { .type = SMS_NOVA_B0, .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw", .lna_ctrl = 29, + .board_cfg.foreign_lna0_ctrl = 29, .rf_switch = 17, + .board_cfg.rf_switch_uhf = 17, }, [SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2] = { .name = "Hauppauge WinTV MiniCard",