.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "MMC_WAIT_FOR_CMD" "9" "09 October 2005" "" ""
.SH NAME
mmc_wait_for_cmd \- start a command and wait for completion
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mmc_wait_for_cmd (struct mmc_host * \fIhost\fB, struct mmc_command * \fIcmd\fB, int \fIretries\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhost\fB\fR
MMC host to start command
.TP
\fB\fIcmd\fB\fR
MMC command to start
.TP
\fB\fIretries\fB\fR
maximum number of retries
.SH "DESCRIPTION"
.PP
Start a new MMC command for a host, and wait for the command
to complete. Return any error that occurred while the command
was executing. Do not attempt to parse the response.