Skip to content
Commit 7ca17b20 authored by Dan Carpenter's avatar Dan Carpenter Committed by Thierry Reding
Browse files

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: 9f4c8f96 ("pwm: imx: Add ipg clock operation")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent d80f8206
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment