Re: [PATCH v5] mmc: Export host capabilities to debugfs.

From: Shawn Lin
Date: Tue Mar 06 2018 - 09:28:13 EST


On 2018/3/6 21:53, Harish Jenny K N wrote:
This patch exports the host capabilities to debugfs

This idea of sharing host capabilities over debugfs
came up from Abbas Raza <Abbas_Raza@xxxxxxxxxx>
Earlier discussions:
https://lkml.org/lkml/2018/3/5/357
https://www.spinics.net/lists/linux-mmc/msg48219.html

Signed-off-by: Harish Jenny K N <harish_kandiga@xxxxxxxxxx>
---

Changes in v5:
- Added parser logic in kernel by using debugfs_create_file
for caps and caps2 instead of debugfs_create_x32

I'm fine with your method if Ulf likes it, but could you use
DEFINE_SHOW_ATTRIBUTE instead? :)



--
Best Regards
Shawn Lin