/* Verify that a register read works. Given the custom nature of SDIO devices, we just read from the card common I/O area.  */
ZTEST(sd_stack, test_read)
/* Verify that a register read works. Given the custom nature of SDIO devices, we just read from the card common I/O area.  */
ZTEST(sd_stack, test_read)
{
	int ret;
	uint8_t reg = 0xFF;
	ret = sdio_read_byte(&card.func0, SDIO_CCCR_CCCR, &reg);
	zassert_equal(ret, 0, "SD card read failed");
	zassert_not_equal(reg, 0xFF, "CCCR read returned invalid data");
}