From: Dmitry Torokhov Date: Tue, 10 Jan 2012 08:45:12 +0000 (-0800) Subject: Input: serio_raw - return proper result when serio_raw_write fails X-Git-Tag: v3.3-rc1~83^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa0771138d0b56fe59ab8ab3b1ce9e594484362;p=pandora-kernel.git Input: serio_raw - return proper result when serio_raw_write fails If serio_raw_write was always returning number of bytes successfully sent to serio port and never signalled error condition to the caller. Change it so that for completely failed transfers appropriate error code returned to the caller (partially successful writes still return number of bytes transferred). Reported-by: Che-liang Chiou Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed