disp: msm: dp: set aux initial status to abort
Set the aborted flag during module initialization so the default behavior is to error out on aux transactions. The flag will be reset when there is a hot plug connect and a sink device is actually present. Change-Id: I9e31b9293e817ed951ba5464d403e7178615418f Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
@@ -689,6 +689,7 @@ static int dp_aux_register(struct dp_aux *dp_aux)
|
||||
aux->drm_aux.name = "sde_dp_aux";
|
||||
aux->drm_aux.dev = aux->dev;
|
||||
aux->drm_aux.transfer = dp_aux_transfer;
|
||||
atomic_set(&aux->aborted, 1);
|
||||
ret = drm_dp_aux_register(&aux->drm_aux);
|
||||
if (ret) {
|
||||
DP_ERR("%s: failed to register drm aux: %d\n", __func__, ret);
|
||||
|
Referens i nytt ärende
Block a user