aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm5102-tables.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-20 02:53:47 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-21 10:07:56 -0500
commit442613f974cd6e2ff6faa4b07215240a970f61e7 (patch)
treeeef89b1266cb41e2ec52313723dc2c966272ed14 /drivers/mfd/wm5102-tables.c
parenteb433dad48b49f757255f2860db5c2bd61dcae0d (diff)
mfd: wm5102: Make FLL NCO test registers readable
They contain documented status readback fields. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r--drivers/mfd/wm5102-tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index 1ade455a28c2..5cb3374cde54 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -1571,6 +1571,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
1571 case ARIZONA_FLL1_CONTROL_5: 1571 case ARIZONA_FLL1_CONTROL_5:
1572 case ARIZONA_FLL1_CONTROL_6: 1572 case ARIZONA_FLL1_CONTROL_6:
1573 case ARIZONA_FLL1_LOOP_FILTER_TEST_1: 1573 case ARIZONA_FLL1_LOOP_FILTER_TEST_1:
1574 case ARIZONA_FLL1_NCO_TEST_0:
1574 case ARIZONA_FLL1_SYNCHRONISER_1: 1575 case ARIZONA_FLL1_SYNCHRONISER_1:
1575 case ARIZONA_FLL1_SYNCHRONISER_2: 1576 case ARIZONA_FLL1_SYNCHRONISER_2:
1576 case ARIZONA_FLL1_SYNCHRONISER_3: 1577 case ARIZONA_FLL1_SYNCHRONISER_3:
@@ -1586,6 +1587,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
1586 case ARIZONA_FLL2_CONTROL_5: 1587 case ARIZONA_FLL2_CONTROL_5:
1587 case ARIZONA_FLL2_CONTROL_6: 1588 case ARIZONA_FLL2_CONTROL_6:
1588 case ARIZONA_FLL2_LOOP_FILTER_TEST_1: 1589 case ARIZONA_FLL2_LOOP_FILTER_TEST_1:
1590 case ARIZONA_FLL2_NCO_TEST_0:
1589 case ARIZONA_FLL2_SYNCHRONISER_1: 1591 case ARIZONA_FLL2_SYNCHRONISER_1:
1590 case ARIZONA_FLL2_SYNCHRONISER_2: 1592 case ARIZONA_FLL2_SYNCHRONISER_2:
1591 case ARIZONA_FLL2_SYNCHRONISER_3: 1593 case ARIZONA_FLL2_SYNCHRONISER_3:
@@ -2339,6 +2341,8 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
2339 case ARIZONA_SAMPLE_RATE_3_STATUS: 2341 case ARIZONA_SAMPLE_RATE_3_STATUS:
2340 case ARIZONA_HAPTICS_STATUS: 2342 case ARIZONA_HAPTICS_STATUS:
2341 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS: 2343 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
2344 case ARIZONA_FLL1_NCO_TEST_0:
2345 case ARIZONA_FLL2_NCO_TEST_0:
2342 case ARIZONA_FX_CTRL2: 2346 case ARIZONA_FX_CTRL2:
2343 case ARIZONA_INTERRUPT_STATUS_1: 2347 case ARIZONA_INTERRUPT_STATUS_1:
2344 case ARIZONA_INTERRUPT_STATUS_2: 2348 case ARIZONA_INTERRUPT_STATUS_2: