ar71xx: cr5000: Fix the reset button as KEY_RESTART
authorDaniel F. Dickinson <cshored@thecshore.com>
Sat, 21 Jul 2018 01:01:23 +0000 (21:01 -0400)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:38 +0000 (17:47 +0100)
commitb7b3103e15ac8d5d1e7efca3d7f70d4861301ac4
tree7e6482f1f2f904baf0211a36087934bd5e85dc47
parent9c127535e98fff80990596b52dd3fbc99bb115a5
ar71xx: cr5000: Fix the reset button as KEY_RESTART

The reset button was incorrectly returning KEY_WPS_BUTTON as the key
code.  We want KEY_RESTART., so make that fix.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
(backported from ffc71cd2d07148e5fa4257b31402e7756aaab238)
target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c