Skip to content
Snippets Groups Projects
Commit a18db58b authored by Clark Wang's avatar Clark Wang Committed by Dong Aisheng
Browse files

MLK-21023 i2c: rpmsg-imx: add mutex lock when transfer i2c messages


I2c_lock_bus function in i2c-core-base will not stop the transfer to
different devices on different buses at the same time.

Since the multiple rpmsg i2c buses share one rpmsg channel, so it has to
add mutex to protect rpmsg resource accessing.

Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
(cherry picked from commit d592afe9)
(cherry picked from commit 44622ff8)
parent 95e82052
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment