drm/bridge: Clear the DP_AUX_I2C_MOT bit passed in aux command.
Subsystems (3)
PATCH 1/1 drm/bridge: Clear the DP_AUX_I2C_MOT bit passed in aux command.
It's observed that if the previous transfer didn't end with a command without DP_AUX_I2C_MOT, the next trasnfer will miss the first byte. But if the command in previous transfer is requested with length 0, anx7625 can't process this command. To make the case simpler, request with commands without DP_AUX_I2C_MOT bit.
Fixes adca62ec370c ("drm/bridge: anx7625: Support reading edid through aux channel")
Signed-off-by Hsin-Yi Wang <[email protected]>
--- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -1
@@ -1703,7 +1703,7 @@ static ssize_t anx7625_aux_transfer(struct drm_dp_aux *aux, ret = -EINVAL ; }if (!ret) - ret =anx7625_aux_trans (ctx, msg->request, msg->address, + ret =anx7625_aux_trans (ctx, request, msg->address, msg->size, msg->buffer);pm_runtime_mark_last_busy (dev);pm_runtime_put_autosuspend (dev);
Signature · 1 line
2.35.1.265.g69c8d7142f-goog