]> git.baikalelectronics.ru Git - kernel.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>
Sat, 13 Aug 2011 18:50:22 +0000 (14:50 -0400)
commit8a7f1bf2c49268c0d8e03ee17142652c69b52825
treee24b1d592f2ddec088af5d61488b034c1409480c
parent6fc739eb6954641f753578a6289fc9f1df43dd37
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