]> Git Repo - linux.git/commitdiff
mxcmmc: fixed max_seg_size value on initialization
authorVladimir Zapolskiy <[email protected]>
Wed, 10 Mar 2010 23:23:57 +0000 (15:23 -0800)
committerLinus Torvalds <[email protected]>
Fri, 12 Mar 2010 23:52:44 +0000 (15:52 -0800)
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: Vladimir Zapolskiy <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Pierre Ossman <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mmc/host/mxcmmc.c

index 60a2b69e54f569e6336c8efa2c25f8c05697a192..faa7b76a8899e1d6ebbfeb096f073ee760c91a7c 100644 (file)
@@ -708,7 +708,7 @@ static int mxcmci_probe(struct platform_device *pdev)
        mmc->max_blk_size = 2048;
        mmc->max_blk_count = 65535;
        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->base = ioremap(r->start, resource_size(r));
This page took 0.055438 seconds and 4 git commands to generate.