The PLL register in the ADAU17x1 is 6 bytes long, so mark all bytes as readable.
This is of no importance for existing code, but is useful when instrumenting the code for debugging purposes.
Signed-off-by: Ricard Wanderlof ricardw@axis.com --- diff --git a/sound/soc/codecs/adau17x1.c b/sound/soc/codecs/adau17x1.c index 2c1bd27..b324c6f 100644 --- a/sound/soc/codecs/adau17x1.c +++ b/sound/soc/codecs/adau17x1.c @@ -759,7 +759,13 @@ bool adau17x1_readable_register(struct device *dev, unsigned int reg)
switch (reg) { case ADAU17X1_CLOCK_CONTROL: + /* The PLL register is 6 bytes long */ case ADAU17X1_PLL_CONTROL: + case ADAU17X1_PLL_CONTROL + 1: + case ADAU17X1_PLL_CONTROL + 2: + case ADAU17X1_PLL_CONTROL + 3: + case ADAU17X1_PLL_CONTROL + 4: + case ADAU17X1_PLL_CONTROL + 5: case ADAU17X1_REC_POWER_MGMT: case ADAU17X1_MICBIAS: case ADAU17X1_SERIAL_PORT0: