]> git.baikalelectronics.ru Git - kernel.git/commit
Input: serio_raw - return proper result when serio_raw_read fails
authorChe-Liang Chiou <clchiou@chromium.org>
Wed, 1 Feb 2012 17:25:35 +0000 (09:25 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Feb 2012 17:26:18 +0000 (09:26 -0800)
commit98804a8ff7df2873cf2b6ea3234599b5062b6605
tree00ee7cccdf137b8f2aa816d9421f5fbba4196662
parentb928eae7b253674392e80ef6df091ea947f532cb
Input: serio_raw - return proper result when serio_raw_read fails

serio_raw_read now returns (sometimes partially) successful number of
bytes transferred to the caller, and only returns error code to the
caller on completely failed transfers.

Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/serio_raw.c