i2c: aspeed: Add tests related to bus recovery i2c-aspeed-test.c
- aspeed_i2c_master_xfer_test_idle_bus tests the condition when the bus is idle and no recovery needs to be performed.
- aspeed_i2c_master_xfer_test_recover_bus_reset tests the condition when the bus is not idle but there is no bus error and hence the bus is reset before the transaction.
- aspeed_i2c_master_xfer_test_recover_bus_error tests a condition when there is a bus error.
Signed-off-by: Harshal Tushar Lehri <email@example.com>
1 file changed