diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2015-11-17 04:38:15 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-15 16:41:23 +0300 |
commit | 1c639baeafa5fe40e6b6e6ee99e9ddd29986fba1 (patch) | |
tree | 0842dd397b8615ce20dfdfe7b4cfca4abb3dc886 /drivers/video/fbdev/riva/fbdev.c | |
parent | 24ed78dc2e8b2428eccc70c3162e70d33ab448c4 (diff) | |
download | linux-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/fbdev/riva/fbdev.c')
-rw-r--r-- | drivers/video/fbdev/riva/fbdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/riva/fbdev.c b/drivers/video/fbdev/riva/fbdev.c index f1ad2747064b..2ef26ad99341 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) |