@@ -208,7 +208,7 @@ static void __mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
* For sdio rw commands we must wait for card busy otherwise some
* sdio devices won't work properly.
*/
- if (mmc_is_io_op(mrq->cmd->opcode) && host->ops->card_busy) {
+ if (mmc_is_rw_io_op(mrq->cmd->opcode) && host->ops->card_busy) {
int tries = 500; /* Wait aprox 500ms at maximum */
while (host->ops->card_busy(host) && --tries)
@@ -21,7 +21,7 @@ int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
unsigned addr, int incr_addr, u8 *buf, unsigned blocks, unsigned blksz);
int sdio_reset(struct mmc_host *host);
-static inline bool mmc_is_io_op(u32 opcode)
+static inline bool mmc_is_rw_io_op(u32 opcode)
{
return opcode == SD_IO_RW_DIRECT || opcode == SD_IO_RW_EXTENDED;
}