mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
suspend: fix freeze abort hangup which caused by insmod [1/1]
PD#GH-134 Problem: When freeze abort happen, it will lose device_unblock_probing(), so device probe is blocked. Solution: When freeze abort happen, release device_block_probing Verify: SM1_S905D3_AC200 Change-Id: I3e591fe9ed392b6a4d30285817a91fbfec25336f Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
This commit is contained in:
@@ -314,6 +314,11 @@ static int suspend_prepare(suspend_state_t state)
|
||||
if (!error)
|
||||
return 0;
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_MODIFY
|
||||
/* Allow device probing and trigger re-probing of deferred devices */
|
||||
device_unblock_probing();
|
||||
#endif
|
||||
|
||||
suspend_stats.failed_freeze++;
|
||||
dpm_save_failed_step(SUSPEND_FREEZE);
|
||||
Finish:
|
||||
|
||||
Reference in New Issue
Block a user