]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mfd: syscon: Remove repetition of the regmap_get_val_endian()"
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 8 Oct 2022 15:47:00 +0000 (09:47 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Oct 2022 19:04:56 +0000 (12:04 -0700)
commitc3d0cca45dc77dc5a0f9706e0d43ba58458199e5
treed2f347d859ad983905224e5f64832643a929f8b2
parent9b445b8d539a9f267c64984b2b1ab82f2f3965c6
Revert "mfd: syscon: Remove repetition of the regmap_get_val_endian()"

This reverts commit 9faa7df5463a9283a4e9860858af4c630b310cae.

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.

Fixes: 9faa7df5463a ("mfd: syscon: Remove repetition of the regmap_get_val_endian()")
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Lee Jones <lee@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/syscon.c