[PATCH v7 19/23] scsi: ufs: mediatek: Rework hardware version reading
Peter Wang (王信友)
peter.wang at mediatek.com
Wed Feb 25 02:34:53 PST 2026
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 at collabora.com>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com
Reviewed-by: Peter Wang <peter.wang at mediatek.com>
More information about the linux-arm-kernel
mailing list