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: 8181941 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 5CE4FBEEE5 for ; Mon, 1 Feb 2016 17:31:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC2C4203AD for ; Mon, 1 Feb 2016 17:31:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDC1B203AB for ; Mon, 1 Feb 2016 17:31:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754634AbcBAR3H (ORCPT ); Mon, 1 Feb 2016 12:29:07 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:34814 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754626AbcBAR3F (ORCPT ); Mon, 1 Feb 2016 12:29:05 -0500 Received: by mail-wm0-f51.google.com with SMTP id 128so81938490wmz.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=S8QY3KpUS24mtHgk7hC4rzDw90YWxXs0UlZPA/nuPHlXHQNDECC9/GJa+t+Q1mEFF+ vwznzfFpJPxtbnBJWrG03vnhukNeE0Os3FXUwBMPbljC53WiTPjCigtSZo5B1zoRFoIC 5vm73l31pNxA3Q1GpWH08LWpGBov35rzz/VjtpQcTPBU89DHvZM2A/uvfqzdkh1uCkK/ IP7U2ywZn3xXRYDI4OoXgBUDATrKvVvCXMyJ8ETsnW7kADE2g/f6/tob2Xi0xEGAMGgT p2eQ0mr5mcgEwmEOOy1/aqC4GcGEBZpkqCZIEgvjUfJZIoappf2BJ7LiflqBKH2LEDpS +lzA== X-Gm-Message-State: AG10YORDNtOosXYmaluVK7oRUs7GOQol1S+x7MDdi/J49xdELBDJGlatAnZdtTe6e0beAMTM 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-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 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);