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.

Change-Id: I76449f6050dd4e26d0a846b9c4121386adeacd7a
Google-Bug-Id: 113188254
Signed-off-by: Harshal Tushar Lehri <halehri@google.com>
1 file changed