mfd: wm5102: Add additional speaker control registers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2013 15:38:48 +0000 (15:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 21 Mar 2013 17:54:17 +0000 (18:54 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/wm5102-tables.c
include/linux/mfd/arizona/registers.h

index 8a6ce8c125059e55b01d71df40002e345a2cede3..7d01069c09db0c8f5957a0c5e66273439d626fde 100644 (file)
@@ -1169,6 +1169,8 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
        case ARIZONA_NOISE_GATE_CONTROL:
        case ARIZONA_PDM_SPK1_CTRL_1:
        case ARIZONA_PDM_SPK1_CTRL_2:
+       case ARIZONA_SPK_CTRL_2:
+       case ARIZONA_SPK_CTRL_3:
        case ARIZONA_DAC_COMP_1:
        case ARIZONA_DAC_COMP_2:
        case ARIZONA_DAC_COMP_3:
index a61ce90ecd3fad2f9a2e4940165eb50b9502e1fe..a47fd358016f46cd167b38824c4728f528542afd 100644 (file)
 #define ARIZONA_PDM_SPK1_CTRL_2                  0x491
 #define ARIZONA_PDM_SPK2_CTRL_1                  0x492
 #define ARIZONA_PDM_SPK2_CTRL_2                  0x493
+#define ARIZONA_SPK_CTRL_2                       0x4B5
+#define ARIZONA_SPK_CTRL_3                       0x4B6
 #define ARIZONA_DAC_COMP_1                       0x4DC
 #define ARIZONA_DAC_COMP_2                       0x4DD
 #define ARIZONA_DAC_COMP_3                       0x4DE