mmc: dw_mmc: Override blk_settings with platdata on IDMAC
authorJaehoon Chung <jh80.chung@samsung.com>
Sat, 4 Feb 2012 22:00:27 +0000 (17:00 -0500)
committerChris Ball <cjb@laptop.org>
Sun, 25 Mar 2012 23:33:44 +0000 (19:33 -0400)
commita39e5746e429b1dae1a71b3ddb05fd82916447c9
treee0d959759d3194baad57683da87b7275b687764d
parent62ca8034d940439490a450ae7e2b7702591e3192
mmc: dw_mmc: Override blk_settings with platdata on IDMAC

When use the IDMAC, we can also want to use the pdata->blk-setting.
So if pdata->blk-setting is unset, use the default value.
if not, use the pdata->blk-setting.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c