diff mbox

[RFC,08/15] ASoC: qcom: add wrdma dma channel start

Message ID 1454347741-10696-1-git-send-email-srinivas.kandagatla@linaro.org (mailing list archive)
State RFC
Delegated to: Andy Gross
Headers show

Commit Message

Srinivas Kandagatla Feb. 1, 2016, 5:29 p.m. UTC
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 <srinivas.kandagatla@linaro.org>
---
 sound/soc/qcom/lpass.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Kenneth Westfield Feb. 3, 2016, 12:36 a.m. UTC | #1
On Mon, Feb 01, 2016 at 09:29:01AM -0800, Srinivas Kandagatla wrote:
> 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;

This patch should come before patch 6 (ASoC: qcom: ipq806x: add wrdma
related register offsets) as that patch references this field.
Srinivas Kandagatla Feb. 3, 2016, 8:48 a.m. UTC | #2
On 03/02/16 00:36, Kenneth Westfield wrote:
> On Mon, Feb 01, 2016 at 09:29:01AM -0800, Srinivas Kandagatla wrote:
>> 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;
>
> This patch should come before patch 6 (ASoC: qcom: ipq806x: add wrdma
> related register offsets) as that patch references this field.
yes, I need to fix the correct ordering of the patches.

>
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);