mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "disp: msm: sde: ensure input handler unregistration in command mode"
This commit is contained in:
commit
8d3febc8a0
1 changed files with 2 additions and 1 deletions
|
|
@ -3344,7 +3344,8 @@ static void sde_encoder_virt_disable(struct drm_encoder *drm_enc)
|
|||
/* wait for idle */
|
||||
sde_encoder_wait_for_event(drm_enc, MSM_ENC_TX_COMPLETE);
|
||||
|
||||
if (sde_enc->input_handler)
|
||||
if (sde_enc->input_handler &&
|
||||
sde_encoder_check_curr_mode(drm_enc, MSM_DISPLAY_CMD_MODE))
|
||||
input_unregister_handler(sde_enc->input_handler);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue