From: Gabe Black Date: Tue, 3 Apr 2018 01:20:55 +0000 (-0700) Subject: dev: arm: SetScaling commands don't send parameter bytes. X-Git-Tag: v19.0.0.0~2174 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=421c2e2b2186551cd9310b30d26a4805dfa0482e;p=gem5.git dev: arm: SetScaling commands don't send parameter bytes. These are single byte commands which change the mode of the mouse. They don't take any additional parameters like the SetRate or SetResolution. Change-Id: I29194916cfed5d3f4893947ef6d6cc636aee2419 Reviewed-on: https://gem5-review.googlesource.com/9701 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- diff --git a/src/dev/arm/kmi.cc b/src/dev/arm/kmi.cc index 8db925471..8b373b819 100644 --- a/src/dev/arm/kmi.cc +++ b/src/dev/arm/kmi.cc @@ -188,8 +188,6 @@ Pl050::processCommand(uint8_t byte) case SetResolution: case SetRate: case SetStatusLed: - case SetScaling1_1: - case SetScaling1_2: rxQueue.push_back(Ack); ackNext = 1; break; @@ -211,6 +209,8 @@ Pl050::processCommand(uint8_t byte) case Disable: case Enable: case SetDefaults: + case SetScaling1_1: + case SetScaling1_2: rxQueue.push_back(Ack); break; case StatusRequest: