]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: core: Introduce a new clock_scaling lock
authorAvri Altman <avri.altman@wdc.com>
Sun, 24 Nov 2024 07:08:08 +0000 (09:08 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 4 Dec 2024 18:12:07 +0000 (13:12 -0500)
commitbe769e5cf53b8a45eedcc7354bacf939ae16f72c
treebd280ae39357570e94007f831103d75051a69dc4
parent209f4e43b8068c24cde227f464111030430153fa
scsi: ufs: core: Introduce a new clock_scaling lock

Introduce a new clock scaling lock to serialize access to some of the clock
scaling members instead of the host_lock. here also, simplify the code with
the guard() macro and co.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20241124070808.194860-5-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h