summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tpa6130a2.h
diff options
context:
space:
mode:
authorHelen Koike <helen.koike@collabora.co.uk>2016-06-20 20:12:30 +0300
committerMark Brown <broonie@kernel.org>2016-06-23 17:35:51 +0300
commita0d5ff4496dca6e435ae3adb286d6583cf785aca (patch)
tree4d75faa3bb9d035834456036847acbdbe74e143b /sound/soc/codecs/tpa6130a2.h
parentcb7e62256e99d285e415cf75db67558f0f8bb107 (diff)
downloadlinux-a0d5ff4496dca6e435ae3adb286d6583cf785aca.tar.xz
ASoC: tap6130a2: Use regmap
Use regmap instead of open-coding IO access and caching Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> [koike: port for upstream] Signed-off-by: Helen Koike <helen.koike@collabora.co.uk> [On N900] Tested-By: Sebastian Reichel <sre@kernel.org> Reviewed-By: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tpa6130a2.h')
-rw-r--r--sound/soc/codecs/tpa6130a2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/tpa6130a2.h b/sound/soc/codecs/tpa6130a2.h
index 78ee7237568b..ef05a3ff189b 100644
--- a/sound/soc/codecs/tpa6130a2.h
+++ b/sound/soc/codecs/tpa6130a2.h
@@ -30,8 +30,6 @@
#define TPA6130A2_REG_OUT_IMPEDANCE 0x03
#define TPA6130A2_REG_VERSION 0x04
-#define TPA6130A2_CACHEREGNUM (TPA6130A2_REG_VERSION + 1)
-
/* Register bits */
/* TPA6130A2_REG_CONTROL (0x01) */
#define TPA6130A2_SWS (0x01 << 0)