mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
Commit10b6ea0959("MIPS: Malta: Use syscon-reboot driver to reboot") converted the Malta board to use the generic syscon-reboot driver to handle reboots, but incorrectly used the value 0x4d rather than 0x42 as the magic to write to the reboot register. I also incorrectly believed that syscon/regmap would default to native endianness, but this isn't the case. Force this by specifying with a native-endian property in the devicetree. Signed-off-by: Paul Burton <[email protected]> Fixes:10b6ea0959("MIPS: Malta: Use syscon-reboot driver to reboot") Reported-by: Guenter Roeck <[email protected]> Cc: [email protected] Tested-by: Guenter Roeck <[email protected]> Tested-by: Maciej W. Rozycki <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/14396/ Signed-off-by: Ralf Baechle <[email protected]>