ASoC: SigmaDSP: Add regmap support
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 08:44:20 +0000 (09:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Nov 2011 12:01:23 +0000 (12:01 +0000)
commit38fd54ee38624a52c28d65fadfd452c9c49fb152
tree2c713f2e81fba99f09d3dfdf531b714090190595
parenta4c1d7e66719b326431c6e617da07cab0caedbca
ASoC: SigmaDSP: Add regmap support

Add support for loading the SigmaDSP firmware using regmap. This allows us
to transparently use SPI or I2C as the transport protocol on devices which
support them.

For now we keep the old I2C support since we have one user of this which is not
straight forward to convert to regmap, due to variable length registers.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sigmadsp.c
sound/soc/codecs/sigmadsp.h