]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: block: Remove use of mmc_blk_set_blksize
authorUlf Hansson <ulf.hansson@stericsson.com>
Thu, 22 Mar 2012 10:47:26 +0000 (11:47 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 6 Apr 2012 00:32:22 +0000 (20:32 -0400)
commite09456039b156934d7bdbb91246078fc0a31a80d
tree460c05d27c2460d75e733a02c6bcee48181a712f
parentc0a301da3730e8adefaa5ffbea104b3c6ff79193
mmc: block: Remove use of mmc_blk_set_blksize

According to the specifications for SD and (e)MMC default
blocksize (named BLOCKLEN in Spec.) must always be 512
bytes. Since we hardcoded to always use 512 bytes, we do
not explicitly have to set it. Future improvements should
potentially make it possible to use a greater blocksize
than 512 bytes, but until then let's skip this.

Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Subhash Jadavani <subhashj@codeauora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c