Re: [PATCH v2] mmc: renesas_sdhi: Fix change point of data handling

Wolfram Sang
2024-01-30T07:31:09Z

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

> But isn't it equal to the current code then? (Except for one thing: the
> smpcmp bit is only set when there is no cmd error. I need to double
> check but I think I like that.)

I double checked, I really like it. I'd just invert the logic. Pseudo
code:

if (!cmd_error)
if (SMPCMP == 0) set_bit
else
mmc_abort_tuning()