From patchwork Mon Apr 4 20:18:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 685411 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p34KIvCp019972 for ; Mon, 4 Apr 2011 20:19:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755592Ab1DDUTA (ORCPT ); Mon, 4 Apr 2011 16:19:00 -0400 Received: from mail-in-10.arcor-online.net ([151.189.21.50]:33557 "EHLO mail-in-10.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755578Ab1DDUS7 (ORCPT ); Mon, 4 Apr 2011 16:18:59 -0400 Received: from mail-in-17-z2.arcor-online.net (mail-in-17-z2.arcor-online.net [151.189.8.34]) by mx.arcor.de (Postfix) with ESMTP id 15D4F2D6919; Mon, 4 Apr 2011 22:18:58 +0200 (CEST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-17-z2.arcor-online.net (Postfix) with ESMTP id 0FA8B366118; Mon, 4 Apr 2011 22:18:58 +0200 (CEST) Received: from localhost.localdomain (dslb-094-222-027-138.pools.arcor-ip.net [94.222.27.138]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-02.arcor-online.net (Postfix) with ESMTPA id C774130CF1; Mon, 4 Apr 2011 22:18:57 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-02.arcor-online.net C774130CF1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1301948338; bh=37L+3NByoKWxp6HUKRE9pgXePg6fCqJwQE0q8Q6IGdU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=LRs/qhmh8ZAmuJOkCkKCArIWwkE18Dzs+P8kYVW+JjFeVFmTczYEAWB0GSI9QZTZU kZJi0ACGyV/PgiWpfFf64kJJ7PLx/9FZw/ij0wU+53SXGLjalZck2B1MrAOE4vhUNG StURLYZ3T9qd2GFLwhjzmRBw4m7OmJbgW59xuCAU= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, d.belimov@gmail.com, Stefan Ringel Subject: [PATCH 3/5] tm6000: add audio mode parameter Date: Mon, 4 Apr 2011 22:18:42 +0200 Message-Id: <1301948324-27186-3-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1301948324-27186-1-git-send-email-stefan.ringel@arcor.de> References: <1301948324-27186-1-git-send-email-stefan.ringel@arcor.de> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 04 Apr 2011 20:19:09 +0000 (UTC) From: Stefan Ringel add audio mode parameter Signed-off-by: Stefan Ringel --- drivers/staging/tm6000/tm6000-stds.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/staging/tm6000/tm6000-stds.c b/drivers/staging/tm6000/tm6000-stds.c index da3e51b..a9e1921 100644 --- a/drivers/staging/tm6000/tm6000-stds.c +++ b/drivers/staging/tm6000/tm6000-stds.c @@ -22,12 +22,17 @@ #include "tm6000.h" #include "tm6000-regs.h" +static unsigned int tm6010_a_mode; +module_param(tm6010_a_mode, int, 0644); +MODULE_PARM_DESC(tm6010_a_mode, "set sif audio mode (tm6010 only)"); + struct tm6000_reg_settings { unsigned char req; unsigned char reg; unsigned char value; }; +/* must be updated */ enum tm6000_audio_std { BG_NICAM, BTSC,