ASoC: core: Try to use regmap if the driver doesn't set up any I/O
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 22 Jun 2012 12:04:02 +0000 (13:04 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Jul 2012 19:11:00 +0000 (20:11 +0100)
commit38cbf9598feba97de9f9b43efa9153fd7c1a2ec9
tree8d5040b8824becf1684a24348d14c96aba9e33f9
parent081413f206876e9d3755e1673828c7742fd00184
ASoC: core: Try to use regmap if the driver doesn't set up any I/O

Since most new drivers are expected to use regmap and since frequently the
only thing we need to do in the CODEC probe function is configure the I/O
try to initialise the register I/O using regmap if the driver hasn't done
so after probe().

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