commit | 393f9a08e2ee72e42379489a5781feaf9c406d5f | [log] [tgz] |
---|---|---|
author | Jaehoon Chung <jh80.chung@samsung.com> | Wed Jul 13 17:02:16 2011 +0900 |
committer | Chris Ball <cjb@laptop.org> | Thu Jul 21 10:35:00 2011 -0400 |
tree | 3b360c42c9449e4bcf320ade4c0048b98bfbe4d4 | |
parent | 7937e878f91ccc32c09177f44cfdc45183d78605 [diff] |
mmc: block: fixed NULL pointer dereference We already check for ongoing async transfers when handling discard requests, but not in mmc_blk_issue_flush(). This patch fixes that omission. Tested with an SDHCI controller and eMMC4.41. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Per Forlin <per.forlin@linaro.org> Cc: <stable@kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>