diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2019-02-25 11:09:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-26 11:53:56 +0100 |
commit | b5958faa34e2f99f3475ad89c52d98dfea079d33 (patch) | |
tree | a15ec094318e2affa0cd0ec325593c0ae8ca78e3 /LICENSES | |
parent | 4398e7057d66050b4121b97da048bfe3fdaf4c8d (diff) | |
download | linux-b5958faa34e2f99f3475ad89c52d98dfea079d33.tar.bz2 |
mei: bus: move hw module get/put to probe/release
Fix unbalanced module reference counting during internal reset, which
prevents the drivers unloading.
Tracking mei_me/txe modules on mei client bus via
mei_cldev_enable/disable is error prone due to possible internal
reset flow, where clients are disconnected underneath.
Moving reference counting to probe and release of mei bus client
driver solves this issue in simplest way, as each client provides only
a single connection to a client bus driver.
Cc: <stable@vger.kernel.org>
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>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions