]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Don't crash on PM operations
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 May 2011 17:25:34 +0000 (18:25 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 May 2011 22:28:04 +0000 (23:28 +0100)
commit3baa9d015eb1d2a8e061443fa891639405e5be11
tree6223f0d61de0f406c1453d6a063196512dd3c2a6
parent104de926b4e536b4b019e0be6540927f0de15173
ASoC: Don't crash on PM operations

The move over to exposing snd_soc_register_card() let the initialisation
of the driver data we use to find the card in PM operations go AWOL. Fix
this by setting the driver data when we register the card.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c