Skip to content

Commit a18a703

Browse files
EmantorUlf Hansson
authored andcommitted
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>
1 parent a575e77 commit a18a703

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mmc/core/debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ void mmc_add_card_debugfs(struct mmc_card *card)
389389
card->debugfs_root = root;
390390

391391
debugfs_create_x32("state", 0400, root, &card->state);
392+
debugfs_create_x32("quirks", 0400, root, &card->quirks);
392393
}
393394

394395
void mmc_remove_card_debugfs(struct mmc_card *card)

0 commit comments

Comments
 (0)