dp_configcaps: Avoid querying bus if both bLinkActive and bLinkReady is NULL
Doesn't fix a crash -- but avoids redundant work due to a copy paste error. Closes #56
This commit is contained in:
parent
28d2504766
commit
9aea50f52f
|
@ -2863,7 +2863,7 @@ struct DPCDHALImpl : DPCDHAL
|
||||||
{
|
{
|
||||||
NvU8 data = 0;
|
NvU8 data = 0;
|
||||||
|
|
||||||
if (bLinkReady == NULL && bLinkReady == NULL)
|
if (bLinkActive == NULL && bLinkReady == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (AuxRetry::ack != bus.read(NV_DPCD20_PCON_HDMI_TX_LINK_STATUS, &data, sizeof(data)))
|
if (AuxRetry::ack != bus.read(NV_DPCD20_PCON_HDMI_TX_LINK_STATUS, &data, sizeof(data)))
|
||||||
|
|
Loading…
Reference in New Issue