Skip to content
Commit 987dd36c authored by Alexander Stein's avatar Alexander Stein Committed by Wolfram Sang
Browse files

i2c: imx-lpi2c: clean rx/tx buffers upon new message



When start sending a new message clear the Rx & Tx buffer pointers in
order to avoid using stale pointers.

Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: default avatarEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent eeac8ede
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