commit | ed77cc122a8402db8f9c3492649aa0c3fee7b385 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue May 03 18:25:34 2011 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue May 03 23:28:04 2011 +0100 |
tree | 6223f0d61de0f406c1453d6a063196512dd3c2a6 | |
parent | 005967a1df80980acb47c72d758ec05059105492 [diff] |
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>