]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb429da41f474599799afb0ac82e615610225c607
tree884e9e93908ab2daf7c46cb1c2f5bff09257bede
parente9163f71b459ca676430e9ce02e9f4d7b0fe77ea
mmc: atmel-mci: Release mmc resources on failure in probe

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