Dan Carpenter 7ca17b2071 pwm: imx: Signedness bug in imx_pwm_get_state()
"ret" only holds zero and negative error codes.  It needs to be signed
for the error handling to work.

Fixes: 9f4c8f9607c3 ("pwm: imx: Add ipg clock operation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2019-01-16 08:45:38 +01:00
..
2019-01-10 09:34:12 +01:00
2019-01-16 08:45:33 +01:00
2019-01-16 08:45:33 +01:00
2018-04-30 10:40:57 +02:00
2017-04-06 17:45:03 +02:00
2017-11-15 10:38:37 +01:00
2019-01-16 08:45:33 +01:00
2018-08-20 11:32:25 +02:00
2018-07-12 09:03:06 +02:00
2017-01-19 00:38:17 +01:00
2018-06-14 16:25:43 +09:00
2017-08-21 08:11:24 +02:00