Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d759c374 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Linus Torvalds
Browse files

mxcmmc: fixed max_seg_size value on initialization



This unpleasant typo appeared while porting the driver from Freescale
original sources, where anyone can easily find the correct version.

Current incorrect version potentially can influence segment and merge
handling in block subsystem via MMC request queue settings.

Signed-off-by: default avatarVladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 51ea3f6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -708,7 +708,7 @@ static int mxcmci_probe(struct platform_device *pdev)
	mmc->max_blk_size = 2048;
	mmc->max_blk_size = 2048;
	mmc->max_blk_count = 65535;
	mmc->max_blk_count = 65535;
	mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
	mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
	mmc->max_seg_size = mmc->max_seg_size;
	mmc->max_seg_size = mmc->max_req_size;


	host = mmc_priv(mmc);
	host = mmc_priv(mmc);
	host->base = ioremap(r->start, resource_size(r));
	host->base = ioremap(r->start, resource_size(r));