]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: mmc_test: avoid stalled file in debugfs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 22 Jul 2011 13:13:36 +0000 (16:13 +0300)
committerChris Ball <cjb@laptop.org>
Thu, 28 Jul 2011 22:27:09 +0000 (18:27 -0400)
commitb0f5046e445e588cc7f8203a9cff733b51a82c36
tree6128899b4278a175197706cfb06ca6747105e132
parent9658f9942b1949e0e9f0258260b969a20e902623
mmc: mmc_test: avoid stalled file in debugfs

During card removal and inserting cycle the test file in the debugfs could be
stalled until the host driver removes it. Let's keep the file in the linked
list and destroy it when card is removed.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Per Forlin <per.forlin@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c