|
@@ -203,7 +203,7 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request,
|
|
|
|
|
|
ret = aux->transfer(aux, &msg);
|
|
ret = aux->transfer(aux, &msg);
|
|
|
|
|
|
- if (ret > 0) {
|
|
|
|
|
|
+ if (ret >= 0) {
|
|
native_reply = msg.reply & DP_AUX_NATIVE_REPLY_MASK;
|
|
native_reply = msg.reply & DP_AUX_NATIVE_REPLY_MASK;
|
|
if (native_reply == DP_AUX_NATIVE_REPLY_ACK) {
|
|
if (native_reply == DP_AUX_NATIVE_REPLY_ACK) {
|
|
if (ret == size)
|
|
if (ret == size)
|