]> 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)
commit81454bc34a6ac591ed3eb6a0e93ea87e7721c202
treee24b1d592f2ddec088af5d61488b034c1409480c
parent2b4c40ba23f6769368e524c2220d95435de24d1e
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