linux-stable/include/ufs
Peter Wang 7f45ed5f0c scsi: ufs: core: Add missing post notify for power mode change
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>
2024-12-04 13:22:59 -05:00
..
ufs_quirks.h scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufs.h scsi: ufs: Move UFS trace events to private header 2024-08-22 20:54:46 -04:00
ufshcd.h scsi: ufs: core: Add missing post notify for power mode change 2024-12-04 13:22:59 -05:00
ufshci.h SCSI misc on 20240919 2024-09-19 11:28:51 +02:00
unipro.h scsi: ufs: ufs-sysfs: Expose UFS power info 2023-11-15 10:23:55 -05:00