Re: [PATCH] power: supply: qcom_battmgr: fix enable request endianness

From: Andrew Halaney
Date: Fri Sep 29 2023 - 09:00:47 EST


On Fri, Sep 29, 2023 at 12:16:49PM +0200, Johan Hovold wrote:
> Add the missing endianness conversion when sending the enable request so
> that the driver will work also on a hypothetical big-endian machine.
>
> This issue was reported by sparse.
>
> Fixes: 29e8142b5623 ("power: supply: Introduce Qualcomm PMIC GLINK power supply")
> Cc: stable@xxxxxxxxxxxxxxx # 6.3
> Cc: Bjorn Andersson <andersson@xxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>

Reviewed-by: Andrew Halaney <ahalaney@xxxxxxxxxx>