Re: [PATCH] Revert "mfd: syscon: Remove repetition of the regmap_get_val_endian()"

From: Lee Jones
Date: Tue Oct 18 2022 - 03:23:38 EST


On Sat, 08 Oct 2022, Jason A. Donenfeld wrote:

> This reverts commit 72a95859728a7866522e6633818bebc1c2519b17. It broke
> reboots on big-endian MIPS and MIPS64 malta QEMU instances, which use
> the syscon driver. Little-endian is not effected, which means likely
> it's important to handle regmap_get_val_endian() in this function after
> all.
>
> Cc: Lee Jones <lee@xxxxxxxxxx>
> Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Fixes: 72a95859728a ("mfd: syscon: Remove repetition of the regmap_get_val_endian()")
> Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>
> ---
> drivers/mfd/syscon.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

Applied, thanks.

--
Lee Jones [李琼斯]