diff options
author | Bart Van Assche <[email protected]> | 2023-12-18 14:52:14 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-01-03 23:03:04 -0500 |
commit | daf7795406bf307997366f694888bd317ae5b5fa (patch) | |
tree | c20a9d1f7504539f23c8b38685473ca17c880c99 /lib/crypto/mpi/mpiutil.c | |
parent | 45a2c87f28ad0ee8c286bb6dd5686bc54f5b7160 (diff) |
scsi: ufs: core: Simplify power management during async scan
ufshcd_init() calls pm_runtime_get_sync() before it calls
async_schedule(). ufshcd_async_scan() calls pm_runtime_put_sync() directly
or indirectly from ufshcd_add_lus(). Simplify ufshcd_async_scan() by always
calling pm_runtime_put_sync() from ufshcd_async_scan().
Cc: <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Can Guo <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions