Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] scsi: ufs: mediatek: missing Fixes trailer for
_ufs_mtk_clk_scale() fixes
--
commit 4421ac01b44e9c03d7a805d55558f0e6f608a409
Author: Nicolas Frattaroli [off-list ref]
scsi: ufs: mediatek: Rework _ufs_mtk_clk_scale error paths
Errors should be printed at the correct log level. Additionally, it
looks like some "goto out"'s were omitted in the scale up case, which
looks like a mistake, as the scale down branch of the code does use
them.
Rework the error messages to make them nicer and at the correct
verbosity, and add the missing gotos.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Louis-Alexis Eyraud <redacted>
[Severity: Low]
In addition to the missing goto out when clk_set_parent(clki->clk, ...)
fails during scale-up, this patch fixes a clki->clk prepare/enable leak
when clk_prepare_enable(fde_clki->clk) fails. Both issues were introduced
by 5e5976f5242d ("scsi: ufs: host: mediatek: Support FDE (AES) clock
scaling"). Should this include:
Fixes: 5e5976f5242d ("scsi: ufs: host: mediatek: Support FDE (AES) clock scaling")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261119-mt8196-ufs-v15-0-aae1eb0382e8@collabora.com?part=16
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy