Re: [PATCH v7 19/23] scsi: ufs: mediatek: Rework hardware version reading

From: Peter Wang (王信友)

Date: Wed Feb 25 2026 - 05:35:14 EST


On Mon, 2026-02-16 at 14:37 +0100, Nicolas Frattaroli wrote:
> Split assignment to the host struct out from the read function, and
> utilise bitfield helpers to simplify the code. Also move the debug
> print
> out of the legacy version helper, which means it no longer has to
> take a
> struct ufs_hba as an input, and can be rewritten as a pure function.
>
> Reviewed-by: AngeloGioacchino Del Regno
> <angelogioacchino.delregno@xxxxxxxxxxxxx>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@xxxxxxxxxxxxx

Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>