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)
commit5865f2876baa5c68fd0d50029dd220ce19f3d2af
tree460c05d27c2460d75e733a02c6bcee48181a712f
parentfaf8180b20882b52145b96d6d4ed082d41908f90
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