Commit fe10c6ab authored by Russell King's avatar Russell King Committed by Russell King

[MMC] Correct mmc_request_done comments

mmc_request_done should be called at the end of handling a request, not
between the data and initial command parts of the request.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d78e9079
...@@ -59,13 +59,12 @@ static const unsigned int tacc_mant[] = { ...@@ -59,13 +59,12 @@ static const unsigned int tacc_mant[] = {
/** /**
* mmc_request_done - finish processing an MMC command * mmc_request_done - finish processing an MMC request
* @host: MMC host which completed command * @host: MMC host which completed request
* @mrq: MMC request which completed * @mrq: MMC request which request
* *
* MMC drivers should call this function when they have completed * MMC drivers should call this function when they have completed
* their processing of a command. This should be called before the * their processing of a request.
* data part of the command has completed.
*/ */
void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment