diff options
author | Peter Wang <[email protected]> | 2024-10-24 09:54:53 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-10-25 14:51:34 -0400 |
commit | cb7e509c4e0197f63717fee54fb41c4990ba8d3a (patch) | |
tree | 3a7d96a43ce976dd4662e002a392e57e0490873a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d28d17a845600dd9f7de241de9b1528a1b138716 (diff) |
scsi: ufs: core: Fix another deadlock during RTC update
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: 6bf999e0eb41 ("scsi: ufs: core: Add UFS RTC support")
Cc: [email protected] #6.11.x
Signed-off-by: Peter Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions