]> 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)
commit191f52b54a83478eaeb83d0c5f71fdab08d4d5d2
tree460c05d27c2460d75e733a02c6bcee48181a712f
parent1d6b85ba34f4dda572d32ef57e97a2df14240c73
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