Re: [PATCH v2 0/4] devfreq: check the get_cur_freq() return value and use it in ufshcd

From: Martin K. Petersen (Oracle)

Date: Wed Sep 16 2026 - 22:36:31 EST


On Mon, 07 Sep 2026 21:21:36 +0200, Bean Huo wrote:

> The devfreq core has three users of the optional ->get_cur_freq()
> callback. Two of them check the return value, the third one does not and
> passes an uninitialized frequency to the transition notifiers when the
> callback fails. Patch 1 fixes that.
>
> Patch 2 writes down what a driver is expected to return from the
> callback. Today this has to be found by reading the devfreq core.
>
> [...]

Applied to 7.4/scsi-queue, thanks!

[3/4] scsi: ufs: core: Record the frequency the controller starts at
https://git.kernel.org/mkp/scsi/c/20ae446921e7
[4/4] scsi: ufs: core: Report the current clock frequency to devfreq
https://git.kernel.org/mkp/scsi/c/55ad5deeea92

--
Martin K. Petersen