summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/debugfs.c
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2024-03-26 10:42:14 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2024-04-02 12:25:08 +0200
commita18a70389f03b4f7286ccda52c3e78bdf8b800a8 (patch)
treef3c6f8d74beaa249adb99582ef5068ef31535566 /drivers/mmc/core/debugfs.c
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 <r.czerwinski@pengutronix.de> Link: https://lore.kernel.org/r/20240326094215.212930-2-r.czerwinski@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/debugfs.c')
-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)