hw/adc: Make adci[*] R/W in NPCM7XX ADC
authorHao Wu <wuhaotsh@google.com>
Thu, 14 Jul 2022 18:28:32 +0000 (11:28 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jul 2022 12:20:14 +0000 (13:20 +0100)
commit99638ba9d86b7707adabbf0b223a6e0ae144cd88
treefbbd14a36b861f20931109d0b95bd286eae2907f
parent4a84e85413acaad9e84b64786e44e190080d78a6
hw/adc: Make adci[*] R/W in NPCM7XX ADC

Our sensor test requires both reading and writing from a sensor's
QOM property. So we need to make the input of ADC module R/W instead
of write only for that to work.

Signed-off-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Titus Rwantare <titusr@google.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220714182836.89602-5-wuhaotsh@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/adc/npcm7xx_adc.c