]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic26: Convert to direct regmap API usage
authorMark Brown <broonie@linaro.org>
Wed, 25 Sep 2013 12:29:44 +0000 (13:29 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 25 Sep 2013 12:30:59 +0000 (13:30 +0100)
commit958f3dd68cb0044aa3c5f9c1d53fd53534c38910
treeb7e9f3973279ba2a4af4d3f3cd631abe7d2ef128
parent8b8f1c001c9d101b91e260fea48fa1cf1322bec8
ASoC: tlv320aic26: Convert to direct regmap API usage

This moves us towards being able to remove the duplicated register I/O
code in ASoC.

The datasheet and the driver document the device as having a register map
divided into pages but since the paging is actually done by sending the
page address and the register address with each transaction this is no
different to having a simple register address. The datasheet does also
document the low five bits of the 16 bit "command" as unused which we could
represent as padding but it seems simpler and less confusing to things
that use block transfers or autoincrement to represent these as part of
the register address.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/tlv320aic26.c
sound/soc/codecs/tlv320aic26.h