mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
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>
This commit is contained in:
parent
24ed78dc2e
commit
1c639baeaf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user