drm: adv7511: really enable interrupts for EDID detection
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 4 Jan 2016 02:33:45 +0000 (03:33 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 2 Feb 2016 14:37:49 +0000 (15:37 +0100)
commitd0be8584b01160eb6f49e77f8e9c1da286bb4ffb
tree0a4348c99c2b47e324e16b028fdd860ee864098b
parent1df59b8497f47495e873c23abd6d3d290c730505
drm: adv7511: really enable interrupts for EDID detection

The interrupts for EDID_READY or DDC_ERROR were never enabled in this
driver, so reading EDID always timed out when chip was powered down and
interrupts were used. Fix this and also remove clearing the interrupt
flags, they are cleared in POWER_DOWN mode anyhow (unlike the interrupt
enable flags) according to docs and my tests.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/i2c/adv7511.c