RE: [PATCH v3 4/5] mmc: rework selection of bus speed mode

2014-03-22 Thread Seungwon Jeon
On Fri, March 21, 2014, Ulf Hansson wrote: > On 14 March 2014 13:16, Seungwon Jeon wrote: > > Current implementation for bus speed mode selection is too > > complicated. This patch is to simplify the codes and remove > > some duplicate parts. > > Really appreciate you taking on this task! > > >

[PATCH RESEND 1/2] mmc: mxcmmc: Convert to devm-* API

2014-03-22 Thread Alexander Shiyan
Replace existing resource handling in the driver with managed device resource, this ensures more consistent error values and simplifies error paths. Signed-off-by: Alexander Shiyan --- drivers/mmc/host/mxcmmc.c | 101 +- 1 file changed, 38 insertions(+

[PATCH RESEND 2/2] mmc: mxcmmc: Convert to SIMPLE_DEV_PM_OPS

2014-03-22 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/mmc/host/mxcmmc.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 84d630e..86401c0 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -