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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux