mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: Export host capabilities to debugfs.
This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza <[email protected]> Signed-off-by: Andrew Gabbasov <[email protected]> [Harish: Added caps2, moved creation to mmc_add_host_debugfs] Signed-off-by: Harish Jenny K N <[email protected]> Reviewed-by: Shawn Lin <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
c42e8e054d
commit
9c5c685e58
1 changed files with 6 additions and 0 deletions
|
|
@ -243,6 +243,12 @@ void mmc_add_host_debugfs(struct mmc_host *host)
|
|||
if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops))
|
||||
goto err_node;
|
||||
|
||||
if (!debugfs_create_x32("caps", S_IRUSR, root, &host->caps))
|
||||
goto err_node;
|
||||
|
||||
if (!debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2))
|
||||
goto err_node;
|
||||
|
||||
if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host,
|
||||
&mmc_clock_fops))
|
||||
goto err_node;
|
||||
|
|
|
|||
Loading…
Reference in a new issue