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
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(
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