summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-02-14 13:03:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 11:16:40 +0100
commit7ae079aca59f560d2a44b65d45dffdefed6bd17a (patch)
treeda52ccdb36fe46a16520357d6880d0adcab3e684 /init/do_mounts_initrd.c
parentANDROID: binder: synchronize_rcu() when using POLLFREE. (diff)
downloadlinux-7ae079aca59f560d2a44b65d45dffdefed6bd17a.tar.xz
linux-7ae079aca59f560d2a44b65d45dffdefed6bd17a.zip
mei: set device client to the disconnected state upon suspend.
This fixes regression introduced by commit 8d52af6795c0 ("mei: speed up the power down flow") In mei_cldev_disable during device power down flow, such as suspend or system power off, it jumps over disconnecting function to speed up the power down process, however, because the client is unlinked from the file_list (mei_cl_unlink) mei_cl_set_disconnected is not called from mei_cl_all_disconnect leaving resource leaking. The most visible is reference counter on underlying HW module is not decreased preventing to remove modules after suspend/resume cycles. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Fixes: 8d52af6795c0 ("mei: speed up the power down flow") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions