]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: davinci-mcasp: Use a copy of pdata per instance during DT boot
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 2 Jun 2016 09:55:24 +0000 (12:55 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jun 2016 09:58:19 +0000 (10:58 +0100)
commit272ee030ebc9da58a5796e6e26f78b77ecce7c21
tree09ce9ad550360aff537f1e30eec3de3c2473abbe
parent9ac0013ce6744fb49d961e592e1339ab1453b914
ASoC: davinci-mcasp: Use a copy of pdata per instance during DT boot

Instead of modifying the static pdata struct per McASP instance we need to
allocate pdata for each McASP.
This way we can avoid configuration leakage from prior McASP to McASP
drivers probed at later time.

Reported-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c