Re: [PATCH 4/8] usb: typec: ucsi: glink: use le32 for message data
From: Konrad Dybcio
Date: Tue Apr 16 2024 - 10:36:06 EST
On 4/16/24 04:20, Dmitry Baryshkov wrote:
The message structures as transferred by the PMIC_GLINK use le32 for
data encoding. Correct struct accessors to follow the lead of the main
pmic_glink.c driver.
Fixes: 62b5412b1f4a ("usb: typec: ucsi: add PMIC Glink UCSI driver")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
There are a couple of if (resp->ret_code) occurences, but zero is zero
no matter the bit order, so that works out
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Konrad