tests: i2s: Fix i2s_states_test

The device used for TX stream in the test_i2s_state_ready_neg()
function is incorrect.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2021-08-27 08:42:26 -05:00 committed by Maureen Helm
commit 8b13046cb6

View file

@ -123,7 +123,7 @@ void test_i2s_state_ready_neg(void)
zassert_equal(ret, -EIO, NULL);
/* Configure TX stream changing its state to READY */
ret = configure_stream(dev_i2s_rx, I2S_DIR_TX);
ret = configure_stream(dev_i2s_tx, I2S_DIR_TX);
zassert_equal(ret, TC_PASS, NULL);
/* Send TX stream triggers */