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: 60946 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp170090lbb; Mon, 1 Feb 2016 09:28:37 -0800 (PST) X-Received: by 10.98.18.215 with SMTP id 84mr1850703pfs.131.1454347717316; Mon, 01 Feb 2016 09:28:37 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si34634357pfo.28.2016.02.01.09.28.36; Mon, 01 Feb 2016 09:28:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754442AbcBAR2e (ORCPT + 30 others); Mon, 1 Feb 2016 12:28:34 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:32955 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754408AbcBAR2c (ORCPT ); Mon, 1 Feb 2016 12:28:32 -0500 Received: by mail-wm0-f45.google.com with SMTP id l66so81075115wml.0 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=S6pa+a7DcTJVUTDrSLeSMEE/yr7mR0L2MbZufniK0cJUd0FbYq6XK6szwhQLmPb5Rf GBN3xHqocVLEKyjLhnlg+5NKZ/HA4tJ8VZug8gEcbOfQB4/5ZoEW6lRPKgWpAZkYrpW0 dIDRfy/4LIKVqWLlJIX4NExsNC0QuDTLLcqBkDzDqbdgoMrxsTH1lcJyQBL0querONLt vLGhT1eSC5nPPi0Nwcm/ud0EyKnAAX7pRqjdZ7SShbPEw8uHbWivjy5RyrxFGya2s9n+ dAg9/eMyai0Ua48Ptjsd8ejLGjOoMBypPFsJ6FHmOWmtehSw9pAv53vntFbaUurP6qHL LQyQ== X-Gm-Message-State: AG10YORQrhv+HAV/fGSp8uhvk0fuNl6MtyQPzW0uVqeUnmgRMgBQ1v98SD649k2nXkexbYA3 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 Cc: Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH RFC 03/15] ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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);