commit | 5d88246090c5e9b178eb05bcfb52bbaad2ae48f3 | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <alexander.usyskin@intel.com> | Fri Jan 27 16:32:39 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 31 11:07:43 2017 +0100 |
tree | 35fba5dcc29e9a348d925ab900e2b69ee1346f69 | |
parent | 9ecb839f16a353e71175981a098842fda4ddc7f1 [diff] |
mei: bus: prevent hardware module unload if device on bus is active The hardware module should not be unloaded if the bus has active devices. Get get_/put_ bus parent module upon client device connection/disconnection, to prevent the hardware managing module to disappear underneath. 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>