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>
This commit is contained in:

zatwierdzone przez
Lee Jones

rodzic
5e9bbf17b3
commit
48018943eb
@@ -1017,6 +1017,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
|
||||
case ARIZONA_WRITE_SEQUENCER_CTRL_0:
|
||||
case ARIZONA_WRITE_SEQUENCER_CTRL_1:
|
||||
case ARIZONA_WRITE_SEQUENCER_CTRL_2:
|
||||
case ARIZONA_WRITE_SEQUENCER_CTRL_3:
|
||||
case ARIZONA_WRITE_SEQUENCER_PROM:
|
||||
case ARIZONA_TONE_GENERATOR_1:
|
||||
case ARIZONA_TONE_GENERATOR_2:
|
||||
|
Reference in New Issue
Block a user