summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2015-11-17 01:38:15 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-15 13:41:23 (GMT)
commit1c639baeafa5fe40e6b6e6ee99e9ddd29986fba1 (patch)
tree0842dd397b8615ce20dfdfe7b4cfca4abb3dc886 /drivers/video
parent24ed78dc2e8b2428eccc70c3162e70d33ab448c4 (diff)
downloadlinux-1c639baeafa5fe40e6b6e6ee99e9ddd29986fba1.tar.xz
video: fbdev: rivafb: unlock chip before probiding EDID
At least NV3 requires for chip to be unlocked before it is possible to access I2C registers. Without it, it is not possible to read EDID. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/riva/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/riva/fbdev.c b/drivers/video/fbdev/riva/fbdev.c
index f1ad274..2ef26ad 100644
--- a/drivers/video/fbdev/riva/fbdev.c
+++ b/drivers/video/fbdev/riva/fbdev.c
@@ -1765,6 +1765,7 @@ static int riva_get_EDID_i2c(struct fb_info *info)
int i;
NVTRACE_ENTER();
+ par->riva.LockUnlock(&par->riva, 0);
riva_create_i2c_busses(par);
for (i = 0; i < 3; i++) {
if (!par->chan[i].par)