RE: [PATCH 1/2] mmc: block: Remove error check of hw_reset on reset
From: Christian Löhle
Date: Fri Oct 07 2022 - 11:00:25 EST
> Yes, this is certainly restoring the behaviour and fixing a bug. Thanks!
>
> However, I do wonder about what's the point of trying to switch back to the correct partition if the mmc_hw_reset() > failed (returned a negative error code). It looks like that shouldn't matter, if the reset failed we are screwed anyway, > right?
I agree with you, the only reason for it is to keep behavior in line with err != -EOPNOTSUPP,
For the case that neither of you remembers the original intent, I'll send a v2.
Regards,
Christian
Hyperstone GmbH | Reichenaustr. 39a | 78467 Konstanz
Managing Director: Dr. Jan Peter Berns.
Commercial register of local courts: Freiburg HRB381782