disp: msm: sde: set NOAUTOEN for sde irq to match with power event
If display cont-splash is enabled, then sde irq will be enabled after registration, but sde power event assumes irq to be disabled by default and will still try to enable irq with first power event call, then could cause unbalanced irq enable warning on boot up. Change-Id: Ic5482dd06501721664994f77cd5764140afb7a62 Signed-off-by: Yahui Wang <quic_yahuiw@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
a4cae58822
commit
5c291599a5
@@ -1,5 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -101,7 +102,7 @@ void sde_irq_preinstall(struct msm_kms *kms)
|
||||
}
|
||||
|
||||
/* disable irq until power event enables it */
|
||||
if (!sde_kms->splash_data.num_splash_displays && !sde_kms->irq_enabled)
|
||||
if (!sde_kms->irq_enabled)
|
||||
irq_set_status_flags(sde_kms->irq_num, IRQ_NOAUTOEN);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user