From 3183aa1534de4e98ffb0527d4f2be7ac9f019a4e Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Wed, 1 Sep 2010 09:26:47 +0300 Subject: [PATCH] mmc_test: collect data and show it via sysfs by demand Make it possible to get test results via sysfs. It helps to do tests non-interactively. We have the file created under sysfs already and can use it to show test results. Prior to this patch, the "test" file under each card's sysfs node was write-only, and results were obtained by looking at dmesg. This patch improves programmatic access to the test results, making them available by reading back from the same "test" file: [root@host mmc0:e624]# echo 6 > test [root@host mmc0:e624]# cat test Test 6: 2 [cjb@laptop.org: changelog improvements] Signed-off-by: Andy Shevchenko Cc: Chris Ball Cc: Signed-off-by: Andrew Morton Signed-off-by: Chris Ball --- Reading git-format-patch failed