]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MMC] Correct mmc_request_done comments
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 4 May 2006 12:51:45 +0000 (13:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 May 2006 12:51:45 +0000 (13:51 +0100)
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: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc.c

index 05aa4d6b4f24d1516e4b17031a76b5b91e81ea74..91c6b10dda9a15a61addde3bde5e8828278d1e58 100644 (file)
@@ -59,13 +59,12 @@ static const unsigned int tacc_mant[] = {
 
 
 /**
- *     mmc_request_done - finish processing an MMC command
- *     @host: MMC host which completed command
- *     @mrq: MMC request which completed
+ *     mmc_request_done - finish processing an MMC request
+ *     @host: MMC host which completed request
+ *     @mrq: MMC request which request
  *
  *     MMC drivers should call this function when they have completed
- *     their processing of a command.  This should be called before the
- *     data part of the command has completed.
+ *     their processing of a request.
  */
 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq)
 {