diff options
author | Mark Brown <broonie@linaro.org> | 2014-08-13 06:42:46 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 03:15:38 -0400 |
commit | 48018943eb906d81e48f40675c17b92abfeafcf1 (patch) | |
tree | c37abfa842352594bfe235077165dc68a3353bf0 /drivers/mfd/wm5102-tables.c | |
parent | 5e9bbf17b35f89f31e6b76b4810d8c772621c153 (diff) |
mfd: wm5102: Mark register write sequencer control 3 readable
During init the core checks if the wm5102 has finished starting by reading
register 0x19 and looking at the value. This read always fails since this
is not a readable register, mark it as being one. While we're at it provide
a constant for the register name (as supplied by Charles Keepax).
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r-- | drivers/mfd/wm5102-tables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index a219888d7f4b..77e16e59a45d 100644 --- a/drivers/mfd/wm5102-tables.c +++ b/drivers/mfd/wm5102-tables.c | |||
@@ -1017,6 +1017,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg) | |||
1017 | case ARIZONA_WRITE_SEQUENCER_CTRL_0: | 1017 | case ARIZONA_WRITE_SEQUENCER_CTRL_0: |
1018 | case ARIZONA_WRITE_SEQUENCER_CTRL_1: | 1018 | case ARIZONA_WRITE_SEQUENCER_CTRL_1: |
1019 | case ARIZONA_WRITE_SEQUENCER_CTRL_2: | 1019 | case ARIZONA_WRITE_SEQUENCER_CTRL_2: |
1020 | case ARIZONA_WRITE_SEQUENCER_CTRL_3: | ||
1020 | case ARIZONA_WRITE_SEQUENCER_PROM: | 1021 | case ARIZONA_WRITE_SEQUENCER_PROM: |
1021 | case ARIZONA_TONE_GENERATOR_1: | 1022 | case ARIZONA_TONE_GENERATOR_1: |
1022 | case ARIZONA_TONE_GENERATOR_2: | 1023 | case ARIZONA_TONE_GENERATOR_2: |