From patchwork Mon Feb 1 17:29:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 60951 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp170560lbb; Mon, 1 Feb 2016 09:29:18 -0800 (PST) X-Received: by 10.66.230.201 with SMTP id ta9mr40128889pac.52.1454347758664; Mon, 01 Feb 2016 09:29:18 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bw10si26529466pab.22.2016.02.01.09.29.18; Mon, 01 Feb 2016 09:29:18 -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 S1754654AbcBAR3I (ORCPT + 30 others); Mon, 1 Feb 2016 12:29:08 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:34814 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754599AbcBAR3F (ORCPT ); Mon, 1 Feb 2016 12:29:05 -0500 Received: by mail-wm0-f52.google.com with SMTP id 128so81938488wmz.1 for ; Mon, 01 Feb 2016 09:29:04 -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=rCkXATRwCFCNLLYd41kczg/vWgSnTwkas6puUw7AewE=; b=kleJirp6F5LHIC2CWkWmI3deRti1yNfeTaDkiFR8fjclz3ddaOiV8ovmoEmphqy69U hj+J9vFiw6XF8clCXNxqgxoVNpGRr584YxIxzBdEy4uBvAxjW9nhubFtSk+rVzmIEkB0 xz84WW6XQdZku2mIOUWYCxXyow6pcTeiDNc5E= 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=rCkXATRwCFCNLLYd41kczg/vWgSnTwkas6puUw7AewE=; b=ce5rczwXYKx1EZxVOiIGl3qHIU/hF28T1VpUyrrlsQfUrCa1QAAUQGPJrfdmW+natp RvCReZzlnvHFJPfb5keq0SXDV4E4cbpTOiOXAdQnX3VZhTfyk92hf5yoXIAICgU67w3Q rr+1KLq9XGE9chzVMzVhFoUwkVlRgcCH5/UeOJaNyr2DQ3p/JGQSqn1qZE7Ch54cStuq HSN+r24og1v4RBLttwKwA0o5To+mG4/0kJ+k9qSKQugDOFumu6jkUfo2mSQ3D3QR6DIg mCLhpImJrm1CN4+EG7gLBGkO5XBI7YNV1qvEczew0wBg6XoL7VZWSV1ZkwTcriOvvUhZ YfWw== X-Gm-Message-State: AG10YOTPVLwkLy3XuLhBXvMbEERbe1lk3/IYRLoLZ/U+RWAvJ0aqfYiJIDxmKqziWUZV081/ X-Received: by 10.194.71.135 with SMTP id v7mr23656630wju.106.1454347743838; Mon, 01 Feb 2016 09:29:03 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id i196sm12446872wmf.23.2016.02.01.09.29.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 09:29:03 -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 08/15] ASoC: qcom: add wrdma dma channel start Date: Mon, 1 Feb 2016 17:29:01 +0000 Message-Id: <1454347741-10696-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 wrdma channel numbering starts at 5 on APQ8016 and is different on other chips. This patch adds wrdma_channel_start map to variant structure for dma channel allocations. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass.h | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index 30449f3..8475b60 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -80,6 +80,7 @@ struct lpass_variant { * at different offset to ipq806x **/ u32 dmactl_audif_start; + u32 wrdma_channel_start; /* SOC specific intialization like clocks */ int (*init)(struct platform_device *pdev); int (*exit)(struct platform_device *pdev);