]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: fix one bug to writing to the platform data
authorXiubo Li <Li.Xiubo@freescale.com>
Tue, 14 Jan 2014 04:35:32 +0000 (12:35 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 14 Jan 2014 21:25:48 +0000 (21:25 +0000)
commit50187ae275cbf97b159b92fe1f3ad0bad363bef6
treec0b6c1b2bc65282ee0e7ab2794f2c656ec928fe2
parente8375689bcdf66218f76161d29938c6eaa0946c1
ASoC: simple-card: fix one bug to writing to the platform data

It's a bug that writing to the platform data directly, for it should
be constant. So just copy it before writing.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c