Skip to content
Commit c3d9b866 authored by Juha Niskanen's avatar Juha Niskanen Committed by Gregory Nutt
Browse files

input/mxt: prevent overriding i2c transfer return value



put_reg/get_reg function was overriding i2c transfer error code with i2creset return value, that lead to OK status although actual transfer failed.

Signed-off-by: default avatarJuha Niskanen <juha.niskanen@haltian.com>
Reported-by: default avatarHarri Luhtala <harri.luhtala@haltian.com>
parent 886dadae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment