Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc943258 authored by Ameya Palande's avatar Ameya Palande Committed by Sasha Levin
Browse files

mfd: kempld-core: Fix callback return value check



[ Upstream commit c8648508ebfc597058d2cd00b6c539110264a167 ]

On success, callback function returns 0. So invert the if condition
check so that we can break out of loop.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAmeya Palande <2ameya@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 5f402128
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