mmc: Remove distinction between hw and phys segments
We have deprecated the distinction between hardware and physical segments in the block layer. Consolidate the two limits into one in drivers/mmc/. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
committed by
Chris Ball
parent
7a5ea56abc
commit
a36274e018
@@ -1345,8 +1345,7 @@ static int mmc_spi_probe(struct spi_device *spi)
|
||||
|
||||
mmc->ops = &mmc_spi_ops;
|
||||
mmc->max_blk_size = MMC_SPI_BLOCKSIZE;
|
||||
mmc->max_hw_segs = MMC_SPI_BLOCKSATONCE;
|
||||
mmc->max_phys_segs = MMC_SPI_BLOCKSATONCE;
|
||||
mmc->max_segs = MMC_SPI_BLOCKSATONCE;
|
||||
mmc->max_req_size = MMC_SPI_BLOCKSATONCE * MMC_SPI_BLOCKSIZE;
|
||||
mmc->max_blk_count = MMC_SPI_BLOCKSATONCE;
|
||||
|
||||
|
Reference in New Issue
Block a user