Re: [PATCH v2] mmc: block: ioctl: No busywaiting of non-TRAN CMDs
From: Christian Löhle
Date: Tue May 11 2021 - 12:07:17 EST
On Friday, May 7, 2021 1:34 PM,Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>
> None of the commands you are checking for should have an R1B response
> according to the spec, I think.
>
> That said, I don't think we should do these kinds of sanity checks in
> the kernel for the mmc ioctls, that just doesn't scale.
You are absolutely correct, my bad, I had a userspace program setting the
flags wrong.
Even for a SEND_STATUS R1B is only expected if the card was not selected
and should be set accordingly by the userspace.
Regards,
Christian
Hyperstone GmbH | Line-Eid-Strasse 3 | 78467 Konstanz
Managing Directors: Dr. Jan Peter Berns.
Commercial register of local courts: Freiburg HRB381782