Input: evdev - fix variable initialisation
From: Heiko Stuebner <heiko@...> Date: Tue, 31 Jan 2012 22:13:13 +0100
Commit-Message
Commit 509f87c5f564 (evdev - do not block waiting for an event if fd is nonblock) created a code path were it was possible to use retval uninitialized. This could lead to the xorg evdev input driver getting corrupt data and refusing to work with log messages like AUO-Pixcir touchscreen: Read error: Success sg060_keys: Read error: Success AUO-Pixcir touchscreen: Read error: Success sg060_keys: Read error: Success (for drivers auo-pixcir-ts and gpio-keys). Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
This is obviously meant as a fix for 3.3 drivers/input/evdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Statistics
- 1 lines added
- 1 lines removed