Revert "Add blk_pos parameter to mmc multi_io_quirk callback"

This reverts commit aab95f9b10.

The bcm2835-sdhost driver no longer needs this patch.
This commit is contained in:
Phil Elwell
2016-02-16 08:47:56 +00:00
committed by popcornmix
parent bb93822cc5
commit 3a62fd51d8
5 changed files with 4 additions and 13 deletions

View File

@@ -1415,7 +1415,6 @@ static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
brq->data.blocks = card->host->ops->multi_io_quirk(card, brq->data.blocks = card->host->ops->multi_io_quirk(card,
(rq_data_dir(req) == READ) ? (rq_data_dir(req) == READ) ?
MMC_DATA_READ : MMC_DATA_WRITE, MMC_DATA_READ : MMC_DATA_WRITE,
blk_rq_pos(req),
brq->data.blocks); brq->data.blocks);
} }

View File

@@ -1749,9 +1749,7 @@ static void omap_hsmmc_conf_bus_power(struct omap_hsmmc_host *host)
} }
static int omap_hsmmc_multi_io_quirk(struct mmc_card *card, static int omap_hsmmc_multi_io_quirk(struct mmc_card *card,
unsigned int direction, unsigned int direction, int blk_size)
u32 blk_pos,
int blk_size)
{ {
/* This controller can't do multiblock reads due to hw bugs */ /* This controller can't do multiblock reads due to hw bugs */
if (direction == MMC_DATA_READ) if (direction == MMC_DATA_READ)

View File

@@ -170,9 +170,7 @@ static int sh_mobile_sdhi_write16_hook(struct tmio_mmc_host *host, int addr)
} }
static int sh_mobile_sdhi_multi_io_quirk(struct mmc_card *card, static int sh_mobile_sdhi_multi_io_quirk(struct mmc_card *card,
unsigned int direction, unsigned int direction, int blk_size)
u32 blk_pos,
int blk_size)
{ {
/* /*
* In Renesas controllers, when performing a * In Renesas controllers, when performing a

View File

@@ -1001,9 +1001,7 @@ static int tmio_mmc_get_ro(struct mmc_host *mmc)
} }
static int tmio_multi_io_quirk(struct mmc_card *card, static int tmio_multi_io_quirk(struct mmc_card *card,
unsigned int direction, unsigned int direction, int blk_size)
u32 blk_pos,
int blk_size)
{ {
struct tmio_mmc_host *host = mmc_priv(card->host); struct tmio_mmc_host *host = mmc_priv(card->host);

View File

@@ -140,9 +140,7 @@ struct mmc_host_ops {
* I/O. Returns the number of supported blocks for the request. * I/O. Returns the number of supported blocks for the request.
*/ */
int (*multi_io_quirk)(struct mmc_card *card, int (*multi_io_quirk)(struct mmc_card *card,
unsigned int direction, unsigned int direction, int blk_size);
u32 blk_pos,
int blk_size);
}; };
struct mmc_card; struct mmc_card;