From 421c2e2b2186551cd9310b30d26a4805dfa0482e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 2 Apr 2018 18:20:55 -0700 Subject: [PATCH] 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 --- src/dev/arm/kmi.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.30.2