mmc: atmel-mci: Release mmc resources on failure in probe
authorPramod Gurav <pramod.gurav@smartplayin.com>
Tue, 23 Sep 2014 10:20:06 +0000 (15:50 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 24 Sep 2014 08:39:35 +0000 (10:39 +0200)
This change takes care of releasing mmc resources on error cases in
probe function which was missing. Also release timer in remove function.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/atmel-mci.c

Simple merge