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: 8182051 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8ACA89F1C0 for ; Mon, 1 Feb 2016 17:34:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D16EC20256 for ; Mon, 1 Feb 2016 17:34:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 2D84D20160 for ; Mon, 1 Feb 2016 17:34:24 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6B5E02657F4; Mon, 1 Feb 2016 18:34:18 +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, 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 9D8C426057A; Mon, 1 Feb 2016 18:30:51 +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 C4E1826522E; Mon, 1 Feb 2016 18:30:50 +0100 (CET) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by alsa0.perex.cz (Postfix) with ESMTP id 16A2C26057A for ; Mon, 1 Feb 2016 18:29:04 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id 128so81938489wmz.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=L0yuQbp53OCw4RZ1EqizjA5IXxN6Li3bvroackMyho46Z8vja3FiLUDY/TKr8TMtqk yJLm3dPHZsxD5o2E3jNdX2La6c7Zl7GSpyMOxw++vDwQVAywdWcQ6jPWTPNtYvebGGeP 4uof1ii6FhsKTmSzXq9+buXGlbDEpd5c6D5q15D61DAVj9OEdwiWyjFljykoRM0XRnxg v/P6PMqv11ImFK3rp6UnT05A0f35B11FW216apPk/Ymeg7CPTV69w39GllsbS0BKJu5g fkVOHk6SvCuEXimaTrsjy2iIW3nJ4OWpVcKSYWXphv08r3VztTJVdqXTCIZC9HenDtRz Vrkg== X-Gm-Message-State: AG10YOSDQj0D8yCQPrcPVaJ8ME/eo5zt4TJDilvrZ1pfw8lCLlQLFuH/6kMDTVOTSEnDgCiY 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 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> 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 08/15] ASoC: qcom: add wrdma dma channel 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 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(+) 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);