Message ID | 1437663364.20606.1.camel@ingics.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 95f1044f5674b53f67e0933abff228c594792f4c |
Headers | show |
On 07/23/2015 09:56 AM, Axel Lin wrote: > The latest valid register is TAS2552_VBAT_DATA. > > Signed-off-by: Axel Lin <axel.lin@ingics.com> > --- > sound/soc/codecs/tas2552.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/tas2552.h b/sound/soc/codecs/tas2552.h > index 5746f8f..e34752b 100644 > --- 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) Acked-by: Dan Murphy<dmurphy@ti.com>
diff --git a/sound/soc/codecs/tas2552.h b/sound/soc/codecs/tas2552.h index 5746f8f..e34752b 100644 --- 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)
The latest valid register is TAS2552_VBAT_DATA. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- sound/soc/codecs/tas2552.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)