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>
This commit is contained in:
Rouven Czerwinski 2024-03-26 10:42:14 +01:00 committed by Ulf Hansson
parent a575e778b3
commit a18a70389f

View File

@ -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)