Re: [PATCH v2] mmc: renesas_sdhi: Fix change point of data handling
From: Wolfram Sang
Date: Tue Jan 30 2024 - 02:31:18 EST
> 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()
Attachment:
signature.asc
Description: PGP signature