mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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: Alexander Stein <alexander.stein@ew.tq-group.com> Tested-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
eeac8ede17
commit
987dd36c01
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue