Fix a problem creating the I2C bus for the SDVOC
interface, due to a name match with SDVOB. Bus names must be unique.
This commit is contained in:
parent
e5c572f841
commit
71e3e2d4e3
|
|
@ -858,7 +858,10 @@ I830SDVOInit(ScrnInfoPtr pScrn, int output_index, CARD32 output_device)
|
|||
xfree(sdvo);
|
||||
return NULL;
|
||||
}
|
||||
ddcbus->BusName = "SDVO DDC Bus";
|
||||
if (output_device == SDVOB)
|
||||
ddcbus->BusName = "SDVOB DDC Bus";
|
||||
else
|
||||
ddcbus->BusName = "SDVOC DDC Bus";
|
||||
ddcbus->scrnIndex = i2cbus->scrnIndex;
|
||||
ddcbus->I2CGetByte = I830SDVODDCI2CGetByte;
|
||||
ddcbus->I2CPutByte = I830SDVODDCI2CPutByte;
|
||||
|
|
|
|||
Loading…
Reference in New Issue