Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c639bae authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Tomi Valkeinen
Browse files

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: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 24ed78dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)