linux/include/ufs
Peter Wang 1e30b52edf scsi: ufs: core: Add missing post notify for power mode change
commit 7f45ed5f0c upstream.

When the power mode change is successful but the power mode hasn't
actually changed, the post notification was missed.  Similar to the
approach with hibernate/clock scale/hce enable, having pre/post
notifications in the same function will make it easier to maintain.

Additionally, supplement the description of power parameters for the
pwr_change_notify callback.

Fixes: 7eb584db73 ("ufs: refactor configuring power mode")
Cc: stable@vger.kernel.org #6.11.x
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20241122024943.30589-1-peter.wang@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-12-14 19:59:54 +01:00
..
ufs.h Merge branch 'fixes' into misc 2023-09-02 08:25:19 +01:00
ufs_quirks.h scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufshcd.h scsi: ufs: core: Add missing post notify for power mode change 2024-12-14 19:59:54 +01:00
ufshci.h scsi: ufs: core: Check LSDBS cap when !mcq 2024-09-08 07:54:29 +02:00
unipro.h scsi: ufs: core: Add enums for UFS lanes 2023-07-31 14:47:11 -04:00