File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,11 @@ static IOOptionBits getSupportedTransactionType(void) {
140140 int64_t types = 0 ;
141141 ffCfNumGetInt64 (IOI2CTransactionTypes , & types );
142142
143- /*
144- We want DDCciReply but Simple is better than No-thing.
145- Combined and DisplayPortNative are not useful in our case.
146- */
147143 if (types ) {
148- if ((1 << kIOI2CSimpleTransactionType ) & (uint64_t ) types )
149- return kIOI2CSimpleTransactionType ;
150144 if ((1 << kIOI2CDDCciReplyTransactionType ) & (uint64_t ) types )
151145 return kIOI2CDDCciReplyTransactionType ;
146+ if ((1 << kIOI2CSimpleTransactionType ) & (uint64_t ) types )
147+ return kIOI2CSimpleTransactionType ;
152148 if ((1 << kIOI2CCombinedTransactionType ) & (uint64_t ) types )
153149 return kIOI2CCombinedTransactionType ;
154150 if ((1 << kIOI2CDisplayPortNativeTransactionType ) & (uint64_t ) types )
You can’t perform that action at this time.
0 commit comments