From: Octavian Purdila Date: Tue, 18 Nov 2014 12:57:57 +0000 (+0200) Subject: mfd: dln2: Fix _dln2_transfer return code X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~27^2~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca2b1c6724b150d8305ce06e4b07904ecbcb3fb;p=pandora-kernel.git mfd: dln2: Fix _dln2_transfer return code If wait_for_completion_interruptible_timeout returns a positive value it may be propagated as the return value of _dln2_transfer. This contradicts the documentation of the function and exposes unnecessary internals to the callers. This patch makes sure to set the return value to 0 in that case. Reported-by: Julia Lawall Signed-off-by: Octavian Purdila Signed-off-by: Lee Jones --- Reading git-diff-tree failed