Javier Martinez Canillas
1b52e50f2a
mfd: max77843: Fix max77843_chg_init() return on error
...
If i2c_new_dummy() fails in max77843_chg_init(), an PTR_ERR(NULL) is
returned which is 0. So the function was wrongly returning a success
value instead of an error code.
Cc: stable@vger.kernel.org # 4.1
Fixes: c7f585fe46d8 ("mfd: max77843: Add max77843 MFD driver core driver")
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-10-01 16:31:42 +01:00
..
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:27 +01:00
2015-06-22 12:25:28 +01:00
2015-08-11 15:08:48 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:42 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:09:11 +01:00
2015-08-12 09:59:39 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-24 15:27:59 +01:00
2015-06-22 12:23:02 +01:00
2015-08-11 15:08:48 +01:00
2015-05-27 13:34:15 +01:00
2015-08-11 15:08:48 +01:00
2015-06-22 12:25:01 +01:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-06-22 12:25:20 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:51 +01:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:09:01 +01:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:09:01 +01:00
2015-09-04 15:49:32 -07:00
2015-06-22 12:25:01 +01:00
2015-07-21 09:22:08 +02:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-10-01 16:31:33 +01:00
2015-08-11 15:09:00 +01:00
2015-09-16 15:47:51 +02:00
2015-09-04 15:49:32 -07:00
2015-08-11 15:08:50 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:03:21 +01:00
2015-08-11 15:08:45 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-09-04 11:35:03 -07:00
2015-10-01 16:31:42 +01:00
2015-06-22 12:25:24 +01:00
2015-08-11 15:08:48 +01:00
2015-07-28 08:50:43 +01:00
2015-08-11 15:09:11 +01:00
2015-08-11 15:08:48 +01:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:10 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-09-04 11:35:03 -07:00
2015-09-04 11:35:03 -07:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:09 +01:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:09:01 +01:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:10 +01:00
2015-08-11 15:09:10 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:04 +01:00
2015-08-11 15:09:06 +01:00
2015-09-04 11:46:02 -07:00
2015-08-05 05:10:06 +02:00
2015-09-16 15:47:51 +02:00
2015-06-22 12:25:25 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00
2015-09-04 11:46:02 -07:00
2015-06-22 12:25:26 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:09:13 +01:00
2015-08-11 15:08:47 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:08:56 +01:00