mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
cb7e509c4e
If ufshcd_rtc_work calls ufshcd_rpm_put_sync() and the pm's usage_count
is 0, we will enter the runtime suspend callback. However, the runtime
suspend callback will wait to flush ufshcd_rtc_work, causing a deadlock.
Replace ufshcd_rpm_put_sync() with ufshcd_rpm_put() to avoid the
deadlock.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ufs_bsg.c | ||
ufs_bsg.h | ||
ufs_trace.h | ||
ufs-debugfs.c | ||
ufs-debugfs.h | ||
ufs-fault-injection.c | ||
ufs-fault-injection.h | ||
ufs-hwmon.c | ||
ufs-mcq.c | ||
ufs-sysfs.c | ||
ufs-sysfs.h | ||
ufshcd-crypto.c | ||
ufshcd-crypto.h | ||
ufshcd-priv.h | ||
ufshcd.c |