aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouven Czerwinski <[email protected]>2024-03-26 10:42:14 +0100
committerUlf Hansson <[email protected]>2024-04-02 12:25:08 +0200
commita18a70389f03b4f7286ccda52c3e78bdf8b800a8 (patch)
treef3c6f8d74beaa249adb99582ef5068ef31535566
parenta575e778b344eab33d39ec7213a884805b74d81d (diff)
mmc: debugfs: add card entry for quirks
This is useful to check if a quirk has been applied for the connected mmc card. Signed-off-by: Rouven Czerwinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--drivers/mmc/core/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 6dbab860e453..f10a4dcf1f95 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -389,6 +389,7 @@ void mmc_add_card_debugfs(struct mmc_card *card)
card->debugfs_root = root;
debugfs_create_x32("state", 0400, root, &card->state);
+ debugfs_create_x32("quirks", 0400, root, &card->quirks);
}
void mmc_remove_card_debugfs(struct mmc_card *card)