]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc59e84854579e9b7bb3d38c2899ce5b6b5767fd8
tree0a4348c99c2b47e324e16b028fdd860ee864098b
parentea49c1bea3f77aacbcca5bab003984a4db599c5f
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