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:
Clark Wang <xiaoning.wang@nxp.com>
Please register or sign in to comment