]> 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, 11 Aug 2011 20:39:51 +0000 (16:39 -0400)
commitc4dd6b66d82ec789c5110b357309a7cac688ff52
treefefe79b3e6015d8c7c99b5639aa05d596da65fef
parent06b80eaa9ea70eef127f8b60da041a4984dd2d34
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