Re: [PATCH] mmc: core: fix the critical bug for multiple block read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Oct 31 2011, Jaehoon Chung wrote:
> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
> index 4fd5723..1882149 100644
> --- a/drivers/mmc/card/block.c
> +++ b/drivers/mmc/card/block.c
> @@ -1037,7 +1037,7 @@ static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
>  			brq->data.blocks = 1;
>  
>  		/* Some controllers can't do multiblock reads due to hw bugs */
> -		if (card->host->caps & MMC_CAP2_NO_MULTI_READ &&
> +		if (card->host->caps2 & MMC_CAP2_NO_MULTI_READ &&
>  		    rq_data_dir(req) == READ)
>  			brq->data.blocks = 1;
>  	}
>

Already fixed in mmc-next, with a rebase.  Thanks,

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux