nvmem: sunxi-sid: fix H3 SID controller support
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 9 Mar 2018 14:47:17 +0000 (14:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 18:28:15 +0000 (19:28 +0100)
commit0ab09d651b5858f9bc7d5f74e725334a661828e0
tree5b2942a6e77aa77a0fa77fa92ba68ee8df1b6c27
parent80b820cae421a424c2a1cd37bb714c47519086cd
nvmem: sunxi-sid: fix H3 SID controller support

It seems that doing some operation will make the value pre-read on H3
SID controller wrong again, so all operation should be performed by
register.

Change the SID reading to use register only.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/sunxi_sid.c