summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2024-11-11 23:18:33 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2024-11-20 22:03:05 -0500
commit1745dcdb7227102e16248a324c600b9121c8f6df (patch)
tree78d9b70586b5680025db0ddd413445cedc19f997 /scripts
parentd3326e6a3f9bf1e075be2201fb704c2fdf19e2b7 (diff)
downloadkernel-1745dcdb7227102e16248a324c600b9121c8f6df.tar.gz
scsi: ufs: pltfrm: Drop PM runtime reference count after ufshcd_remove()
During the remove stage of glue drivers, some of them are incrementing the reference count using pm_runtime_get_sync(), before removing the ufshcd using ufshcd_remove(). But they are not dropping that reference count after ufshcd_remove() to balance the refcount. So drop the reference count by calling pm_runtime_put_noidle() after ufshcd_remove(). Since the behavior is applicable to all glue drivers, move the PM handling to ufshcd_pltfrm_remove(). Cc: stable@vger.kernel.org # 3.12 Fixes: 62694735ca95 ("[SCSI] ufs: Add runtime PM support for UFS host controller driver") Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20241111-ufs_bug_fix-v1-4-45ad8b62f02e@linaro.org Reviewed-by: Peter Wang <peter.wang@mediatek.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
964f7e5a56814b32c727821de77d22bd7ef782bc'>sh: force dcache flush if dcache_dirty bit set.Paul Mundt 2009-09-09sh: sh4_flush_cache_mm() optimizations.Paul Mundt 2009-09-08sh: Use more aggressive dcache purging in kmap teardown.Paul Mundt 2009-09-03sh: Fix up and optimize the kmap_coherent() interface.Paul Mundt 2009-09-01sh: Fix up UP deadlock with SMP-aware cache ops.Paul Mundt 2009-08-21sh: Make cache flushers SMP-aware.Paul Mundt 2009-08-16sh: Wire up sh5_cache_init().Paul Mundt 2009-08-15sh: Convert SH7705 extended mode to new cacheflush interface.Paul Mundt 2009-08-15sh: Convert SH-3 to new cacheflush interface.Paul Mundt 2009-08-15sh: Convert SH-2A to new cacheflush interface.Paul Mundt 2009-08-15sh: Convert SH-2 to new cacheflush interface.Paul Mundt 2009-08-15sh: Migrate SH-4 cacheflush ops to function pointers.Paul Mundt 2009-08-15sh: Move alias computation to shared cache init.Paul Mundt 2009-08-15sh: Centralize the CPU cache initialization routines.Paul Mundt 2009-08-15sh: rename pg-mmu.c -> cache.c, enable generically.Paul Mundt