Re: [PATCH 6/6] mmc: sh-mmcif: final error path cleanup

2014-06-04 Thread Ulf Hansson
On 4 June 2014 13:42, Ben Dooks wrote: > Remove the error path items that are no longer needed. The mmc card-detect > code cleans up after itself (and registers with devm) and the host error > is the same as the clock disable. > > Signed-off-by: Ben Dooks Signed-off-by: Ulf Hansson > --- > dr

[PATCH 6/6] mmc: sh-mmcif: final error path cleanup

2014-06-04 Thread Ben Dooks
Remove the error path items that are no longer needed. The mmc card-detect code cleans up after itself (and registers with devm) and the host error is the same as the clock disable. Signed-off-by: Ben Dooks --- drivers/mmc/host/sh_mmcif.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(

[PATCH 6/6] mmc: sh-mmcif: final error path cleanup

2014-04-01 Thread Ben Dooks
Remove the error path items that are no longer needed. The mmc card-detect code cleans up after itself (and registers with devm) and the host error is the same as the clock disable. This should also fix a double call to clk_disable_unprepare() if the call to mmc_add_host() fails. Signed-off-by: B