arch: cxd56xx: Fix not restart after TX error

Fix a bug that I2C driver can not transfer after TX abort error.
It caused by remaining NO_STOP flag status.
This commit is contained in:
SPRESENSE 2024-12-13 09:10:55 +09:00 committed by Xiang Xiao
parent 6825f66fd6
commit 957516105f

View file

@ -667,6 +667,7 @@ static int cxd56_i2c_transfer(struct i2c_master_s *dev,
if (priv->error != OK)
{
ret = priv->error;
wostop = 0;
break;
}