I don't understand all the implications...but my gut feeling is this
change is necessary. Can someone please explain why I'm wrong?

(key here is to use "err || start_err" - same logic as a few lines
above to call mmc_post_req(...-EINVAL))

-       if (err)
-               host->areq = NULL;
-       else
-               host->areq = areq;
+       host->areq = (err || start_err) ? NULL : areq;

If someone agrees, I'll post a proper patch.

thanks,
grant
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to