]> Pileus Git - ~andy/linux/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)
commitca919fe4b972b9428ab42bead11b04a4ebf0f632
treec0b6c1b2bc65282ee0e7ab2794f2c656ec928fe2
parentba194a4de5c81ee200b6af88743b26f7b69aa659
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