[PATCH 5/5] mmc: host: omap_hsmmc: set max_blk_size correctly

2014-03-26 Thread Felipe Balbi
now that we can finally read the new registers for new versions of the mmc IP, we can set max_blk_size correctly depending on the version of the IP we're running on. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 45 ++- 1

Re: [PATCH 5/5] mmc: host: omap_hsmmc: set max_blk_size correctly

2014-03-26 Thread Felipe Balbi
Hi, On Wed, Mar 26, 2014 at 07:04:50PM -0500, Felipe Balbi wrote: @@ -1867,6 +1879,37 @@ static inline struct omap_mmc_platform_data } #endif +static void omap_hsmmc_set_max_blk_size(struct omap_hsmmc_host *host) +{ + struct mmc_host *mmc = host-mmc; + + if