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: 8182001 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@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 CD245BEEE5 for ; Mon, 1 Feb 2016 17:32:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0030C203A1 for ; Mon, 1 Feb 2016 17:32:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21DE320160 for ; Mon, 1 Feb 2016 17:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754415AbcBAR2e (ORCPT ); Mon, 1 Feb 2016 12:28:34 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34969 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754407AbcBAR2c (ORCPT ); Mon, 1 Feb 2016 12:28:32 -0500 Received: by mail-wm0-f46.google.com with SMTP id r129so81584026wmr.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=PCMYPbYRwtIbUbCbIBDD429WCltq82rXkAClw5tHB/61pKJCO+2Lcm1juUt09LXiLY aw1CaNRI6PuEc/7mcKRpuNdy24fcPoJ7rG0J9NYxWma0H1nCmpNH1o3R7ZfiUS/sN6+P aMmcdk+7G9N8Pp2AdsgCOJWBM5/YsALa6vmExwDwIrWlIFFgWVCmoDuM15ygrb1klUAd qCJc88ymV6zqt2JFeaqzh1Xlh/terFFnHJHcG0PTISoge++osa2lFUNT3sIcuEXnZBv+ s88gqtNINlXuRoZskiQ7u20gDpTAMzOVe78L+T/1Lw+8fhoAJe9cN/Ym5kOIX0xoo/Ey H5Sw== X-Gm-Message-State: AG10YOSzoggYfEsdTrqOr75YdrUFHcCXlAfye7HsFM/xXmYfA9uTBwHD4Yj/iyjeEm1R4LL0 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.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);