Octavian Purdila 7ca2b1c672 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 <julia.lawall@lip6.fr>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-11-19 17:12:19 +00:00
..
2014-03-19 08:58:37 +00:00
2014-06-06 12:08:39 -07:00
2013-07-31 13:01:29 +01:00
2013-08-20 03:16:00 +02:00
2013-07-31 13:01:29 +01:00
2014-10-15 06:58:16 +02:00
2014-06-19 15:23:36 +02:00
2013-07-31 13:01:29 +01:00
2014-09-26 08:15:59 +01:00
2014-09-26 08:24:05 +01:00
2014-09-26 08:23:56 +01:00
2013-07-31 13:01:29 +01:00
2014-10-15 06:58:16 +02:00
2014-01-21 08:28:08 +00:00
2013-04-09 12:18:16 +02:00
2014-06-06 12:08:39 -07:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2014-10-15 06:58:16 +02:00
2014-09-26 08:15:37 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00