ASoC: qcom: remove hardcoded i2s port number
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Sat, 16 May 2015 12:32:25 +0000 (13:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 May 2015 20:12:34 +0000 (21:12 +0100)
commit0ae9fd3b2c99099d5a800057b4092fdaa0e973a7
tree1b66ec54460b6fbf98f480c1417c9353477cfcb1
parent9bae4880acee1cd7340d0566b55b927f92de89fb
ASoC: qcom: remove hardcoded i2s port number

This patch attempts to remove the hardcoded i2s port number in lpass
driver. Now the the port number comes from the dai id field.

This will allow other SOCs to use different port numbers on the lpass
driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Kenneth Westfield <kwestfie@codeaurora.org>
Acked-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c
sound/soc/qcom/lpass-ipq806x.c