ASoC: io: Don't dereference regmap if we failed to get one
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 22 Jun 2012 11:40:52 +0000 (12:40 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 23 Jun 2012 11:11:32 +0000 (12:11 +0100)
commit9dfdd5abcf2b350d4fdb207c0dff3194e2fd73db
treec411f3c7a5c0b2dcb507b3d6882ad012b395ae56
parent62d4a4b99dfd647ef88b8434334eaa7497602857
ASoC: io: Don't dereference regmap if we failed to get one

Avoids a crash in invalid configurations.

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