]> git.baikalelectronics.ru Git - kernel.git/commit
mei: expose device state in sysfs
authorAlexander Usyskin <alexander.usyskin@intel.com>
Mon, 22 Apr 2019 06:51:07 +0000 (09:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 17:33:34 +0000 (19:33 +0200)
commite6905f32d8f67cc61b9ac1a68755af10603c4bed
treeb957696646ce67eed8211b5bb1d0398125100ece
parentb259362bc93bc7b3000f054c27f27ff04bcd8c49
mei: expose device state in sysfs

Expose mei device state to user-space through sysfs.
This gives indication to applications that driver is in transition,
usefully mostly to detect link reset state.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-mei
drivers/misc/mei/client.c
drivers/misc/mei/init.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h