drm: adv7511: mark ADV7511_REG_EDID_READ_CTRL volatile
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 4 Jan 2016 02:33:46 +0000 (03:33 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 2 Feb 2016 14:37:52 +0000 (15:37 +0100)
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>
drivers/gpu/drm/i2c/adv7511.c

index db7435a4517fb4ba7b89422ca85447a4a5d10010..e1756a452d69808f1772db5a87ca092565ffa91a 100644 (file)
@@ -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: