From patchwork Thu May 2 09:52:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 16575 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f199.google.com (mail-ye0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B5CCC238EC for ; Thu, 2 May 2013 09:53:24 +0000 (UTC) Received: by mail-ye0-f199.google.com with SMTP id l11sf573588yen.2 for ; Thu, 02 May 2013 02:53:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=eZRsy1zwmA+GNFWi26DHgUWDMvYHKU6ga8KGlVGfuVo=; b=WJphzL6X2c6ptwlv4KakU9jtSfxWw646UAGjYZg5NLT8EjZ4KGCgITSRczLXTeQbo8 7Zhfrs5uAsBqK1ZBrcmgjAIhIFd84c64+gn99IfUqLlTeS7w2NiJ8aHJ+zyte/m+yhdR hD4x4SG6v4pZN9WsAWqX6ooA1f/YrhfNompPV7bh1tTtFgO/z/xjPB/zp4Bkm51E22Ru uzTAUhTS6FQFqgbRrLsd4HaaTZBTwNzk5MhmpJBxyKLpQ1fKQKP6TDMUNvbw0OCjQtYF gfAkL3N+R7el3VNAlckc/nv7cvqFyYr7eG2WJf6qG/e9PNB5IIO2bI6DQLmzZy+Ko+nq +H0g== X-Received: by 10.236.78.103 with SMTP id f67mr4902509yhe.52.1367488397585; Thu, 02 May 2013 02:53:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.28.70 with SMTP id z6ls770434qeg.91.gmail; Thu, 02 May 2013 02:53:17 -0700 (PDT) X-Received: by 10.52.98.161 with SMTP id ej1mr1660917vdb.72.1367488397397; Thu, 02 May 2013 02:53:17 -0700 (PDT) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [2607:f8b0:400c:c02::22a]) by mx.google.com with ESMTPS id ij9si2582906vdb.108.2013.05.02.02.53.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 02:53:17 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22a; Received: by mail-vb0-f42.google.com with SMTP id w16so298848vbf.1 for ; Thu, 02 May 2013 02:53:17 -0700 (PDT) X-Received: by 10.52.69.109 with SMTP id d13mr1618864vdu.75.1367488397281; Thu, 02 May 2013 02:53:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp193528veb; Thu, 2 May 2013 02:53:16 -0700 (PDT) X-Received: by 10.15.77.133 with SMTP id p5mr17555009eey.46.1367488395869; Thu, 02 May 2013 02:53:15 -0700 (PDT) Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [2a00:1450:4013:c01::22f]) by mx.google.com with ESMTPS id m7si6980444eey.234.2013.05.02.02.53.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 02:53:15 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c01::22f is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4013:c01::22f; Received: by mail-ea0-f175.google.com with SMTP id q10so173933eaj.20 for ; Thu, 02 May 2013 02:53:15 -0700 (PDT) X-Received: by 10.15.36.135 with SMTP id i7mr17754291eev.34.1367488395125; Thu, 02 May 2013 02:53:15 -0700 (PDT) Received: from localhost ([2a01:2003:1:1f50:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPSA id c44sm5237234eeb.4.2013.05.02.02.53.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 02 May 2013 02:53:14 -0700 (PDT) From: Fabio Baltieri To: Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Ola Lilja , Fabio Baltieri Subject: [PATCH v2 2/3] ASoC: ux500: drop clock gating widgets from machine driver Date: Thu, 2 May 2013 11:52:51 +0200 Message-Id: <1367488371-18346-1-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.2 In-Reply-To: <20130502075421.GA23346@balto.lan> References: <20130502075421.GA23346@balto.lan> X-Gm-Message-State: ALoCoQm3UFmVriSLh05i0iw5Ng3k1J8l9v7Ag8eMhJl1bqeyaNqk+h8XdXu6gvDxtg+TFWShD/LO X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Drop ab8500 clock gating widgets from mop500_ab8500_ctrls, as these bits are already controlled by ab8500 codec driver and should not be exposed to the user. Signed-off-by: Fabio Baltieri --- Was: ASoC: ux500: move clock controls to ab8500-codec Changes from v1: - rewrote the patch to just drop the widgets, as those allowed the user to control some bits already handled by the codec driver. sound/soc/ux500/mop500_ab8500.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sound/soc/ux500/mop500_ab8500.c b/sound/soc/ux500/mop500_ab8500.c index 2c122de..4606194 100644 --- a/sound/soc/ux500/mop500_ab8500.c +++ b/sound/soc/ux500/mop500_ab8500.c @@ -162,16 +162,6 @@ static struct snd_kcontrol_new mop500_ab8500_ctrls[] = { SOC_ENUM_EXT("Master Clock Select", soc_enum_mclk, mclk_input_control_get, mclk_input_control_put), - /* Digital interface - Clocks */ - SOC_SINGLE("Digital Interface Master Generator Switch", - AB8500_DIGIFCONF1, AB8500_DIGIFCONF1_ENMASTGEN, - 1, 0), - SOC_SINGLE("Digital Interface 0 Bit-clock Switch", - AB8500_DIGIFCONF1, AB8500_DIGIFCONF1_ENFSBITCLK0, - 1, 0), - SOC_SINGLE("Digital Interface 1 Bit-clock Switch", - AB8500_DIGIFCONF1, AB8500_DIGIFCONF1_ENFSBITCLK1, - 1, 0), SOC_DAPM_PIN_SWITCH("Headset Left"), SOC_DAPM_PIN_SWITCH("Headset Right"), SOC_DAPM_PIN_SWITCH("Earpiece"),