summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-05-04 13:51:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-05-04 13:51:45 +0100
commitfe10c6abea8bc83291a13e0580b3e4c355710b09 (patch)
tree1d54fce87090f12de008c25e8717335a6988fc70 /drivers/mmc/mmc.c
parentd78e9079af7526c4661ff484322094832776ef41 (diff)
downloadlinux-3.10-fe10c6abea8bc83291a13e0580b3e4c355710b09.tar.gz
linux-3.10-fe10c6abea8bc83291a13e0580b3e4c355710b09.tar.bz2
linux-3.10-fe10c6abea8bc83291a13e0580b3e4c355710b09.zip
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r--drivers/mmc/mmc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 05aa4d6b4f2..91c6b10dda9 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -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)
{