Skip to content
  • Maciej Purski's avatar
    component: add debugfs support · 59e73854
    Maciej Purski authored
    
    
    Currently there is no information in any vfs about which devices
    a master component consists of, what makes debugging hard if
    one of the component devices fails to register.
    
    Add 'device_component' directory to debugfs. Create a new file for each
    component master, when it has been added. Remove it on a master
    deletion. Show a list of devices required by the given master and their
    status (registered or not). This provides an easy way to check, which
    device has failed to register if the given master device is not
    available in the system.
    
    Signed-off-by: default avatarMaciej Purski <m.purski@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    59e73854