projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: tas2552: Fix off-by-one for max_register setting
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
tas2552.h
diff --git
a/sound/soc/codecs/tas2552.h
b/sound/soc/codecs/tas2552.h
index 5746f8fd0afd55b3305b41df42477c87062432e8..e34752b8a29940e85593f01ee8ea997d918afb91 100644
(file)
--- a/
sound/soc/codecs/tas2552.h
+++ b/
sound/soc/codecs/tas2552.h
@@
-42,7
+42,7
@@
#define TAS2552_BOOST_APT_CTRL 0x14
#define TAS2552_VER_NUM 0x16
#define TAS2552_VBAT_DATA 0x19
-#define TAS2552_MAX_REG
0x20
+#define TAS2552_MAX_REG
TAS2552_VBAT_DATA
/* CFG1 Register Masks */
#define TAS2552_DEV_RESET (1 << 0)