]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 1 Apr 2012 03:51:34 +0000 (23:51 -0400)
commitdeb991713c83b8dab2fd6017e163f5c2f7246160
tree4d5f9d191767d836baea299ea21c5d948ce623ab
parentb2c2f36038ffb24a94d3ec8167bf099ff3e18511
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