From patchwork Mon Feb 1 17:28:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8181891 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EF4E0BEEE5 for ; Mon, 1 Feb 2016 17:30:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27ECF203A9 for ; Mon, 1 Feb 2016 17:30:31 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id F08CC20160 for ; Mon, 1 Feb 2016 17:30:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2767B2651C8; Mon, 1 Feb 2016 18:30:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, NO_DNS_FOR_FROM,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 92B22265090; Mon, 1 Feb 2016 18:28:53 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B5B752612C6; Mon, 1 Feb 2016 18:28:51 +0100 (CET) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by alsa0.perex.cz (Postfix) with ESMTP id 82E95264EFF for ; Mon, 1 Feb 2016 18:28:31 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id p63so82106124wmp.1 for ; Mon, 01 Feb 2016 09:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bcS81i34YSAhEHucRwxGR89UWWILDW5RCah+XK2t7hE=; b=CECtgfSTzbVdlyrBPW4FcdwjEUvDAPZ8ebGmb7jJir2MyJvLeGtRrn+E0vnrDIWF0V Q+Gd3tZi0PXZgFwGnsemL9wt5Ib4wQMQ52H9BGnubMTD82Hr27u20mc23TkC1oAm/QaQ E+xiV61cT8Ny+8Gr3212yTxbE0lHdny/94Lkk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bcS81i34YSAhEHucRwxGR89UWWILDW5RCah+XK2t7hE=; b=BEYl1nTUxzciGLqIyBQmst+BY+TXKtScJN5vUhkZN7DBMHAnTsJLwXvBWVAnSIEevT XXG+aDtoYW31hNvS0doJrXIUyNsu68qG/Q5ssVdkKnqiUus2jg5YERH9xiMvl71Lk2VO PfpTJ6Wj7yZxv+45lCXZy24fLCSc2kTS0WyNCPuweLCAznriYokXf/l744EENo3M5kn4 xAWSZWBMFnAO/1QnxjDb12zXmTe3HLwXHheI5eNOcqaEh3ZcyKxU9k6fZPMxtUQ5Njml 0OTJDg61/U5xb3MdsqXUJtVSW6jQ9W4nRibN6dI9I9bKjykSmWnIzvKoyk0Nt+8199fm 4jgA== X-Gm-Message-State: AG10YORsTWuTMBtwu2r96EvMiUNDDFsigi2ukuBpVnpMKZpGOqFDYPrToJacno/zjyA2+O2j X-Received: by 10.28.174.77 with SMTP id x74mr12097978wme.99.1454347711283; Mon, 01 Feb 2016 09:28:31 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id os7sm5628636wjc.18.2016.02.01.09.28.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 09:28:30 -0800 (PST) From: Srinivas Kandagatla To: Patrick Lai , alsa-devel@alsa-project.org Date: Mon, 1 Feb 2016 17:28:28 +0000 Message-Id: <1454347708-10446-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454347622-9970-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1454347622-9970-1-git-send-email-srinivas.kandagatla@linaro.org> Cc: Banajit Goswami , Liam Girdwood , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown , Srinivas Kandagatla Subject: [alsa-devel] [PATCH RFC 03/15] ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch renames rdmactl_audif_start to dmactrl_audif_start as this is common for both rdma and wrdma. Without this patch the name would be bit misleading to the readers. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-platform.c | 2 +- sound/soc/qcom/lpass.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index a6dce1b..bfc9de6 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -91,7 +91,7 @@ static int lpass_platform_pcmops_hw_params(struct snd_pcm_substream *substream, unsigned int channels = params_channels(params); unsigned int regval; int bitwidth; - int ret, rdma_port = pcm_data->i2s_port + v->rdmactl_audif_start; + int ret, rdma_port = pcm_data->i2s_port + v->dmactl_audif_start; bitwidth = snd_pcm_format_width(format); if (bitwidth < 0) { diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index ab684a8..7c3367f 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -79,7 +79,7 @@ struct lpass_variant { * on SOCs like APQ8016 the channel control bits start * at different offset to ipq806x **/ - u32 rdmactl_audif_start; + u32 dmactl_audif_start; /* SOC specific intialization like clocks */ int (*init)(struct platform_device *pdev); int (*exit)(struct platform_device *pdev);