diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-01-04 05:33:46 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-02-02 17:37:52 +0300 |
commit | cd38a33750ace4300ef91b9ad668baf07c3bfd2b (patch) | |
tree | 49565e1a9904942ae5eae3dc6f5d498de61f8890 /drivers/gpu/drm/i2c | |
parent | d0be8584b01160eb6f49e77f8e9c1da286bb4ffb (diff) | |
download | linux-cd38a33750ace4300ef91b9ad668baf07c3bfd2b.tar.xz |
drm: adv7511: mark ADV7511_REG_EDID_READ_CTRL volatile
This register includes a counter which is decremented by the chip on I2C
failures. Also, it is reset when powering down.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Archit Taneja <architt@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/i2c')
-rw-r--r-- | drivers/gpu/drm/i2c/adv7511.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu/drm/i2c/adv7511.c index db7435a4517f..e1756a452d69 100644 --- a/drivers/gpu/drm/i2c/adv7511.c +++ b/drivers/gpu/drm/i2c/adv7511.c @@ -136,6 +136,7 @@ static bool adv7511_register_volatile(struct device *dev, unsigned int reg) case ADV7511_REG_BKSV(3): case ADV7511_REG_BKSV(4): case ADV7511_REG_DDC_STATUS: + case ADV7511_REG_EDID_READ_CTRL: case ADV7511_REG_BSTATUS(0): case ADV7511_REG_BSTATUS(1): case ADV7511_REG_CHIP_ID_HIGH: |