aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexander Usyskin <[email protected]>2020-06-29 01:53:59 +0300
committerGreg Kroah-Hartman <[email protected]>2020-06-29 19:10:51 +0200
commite852c2c251ed9c23ae6e3efebc5ec49adb504207 (patch)
tree0972f198fca21c23ab9cd2e02e3e96debe73b6e0 /tools/perf/scripts/python/export-to-sqlite.py
parentb037d60a3b1d1227609fd858fa34321f41829911 (diff)
mei: bus: don't clean driver pointer
It's not needed to set driver to NULL in mei_cl_device_remove() which is bus_type remove() handler as this is done anyway in __device_release_driver(). Actually this is causing an endless loop in driver_detach() on ubuntu patched kernel, while removing (rmmod) the mei_hdcp module. The reason list_empty(&drv->p->klist_devices.k_list) is always not-empty. as the check is always true in __device_release_driver() if (dev->driver != drv) return; The non upstream patch is causing this behavior, titled: 'vfio -- release device lock before userspace requests' Nevertheless the fix is correct also for the upstream. Link: https://patchwork.ozlabs.org/project/ubuntu-kernel/patch/[email protected]/ Cc: <[email protected]> Cc: Andy Whitcroft <[email protected]> Signed-off-by: Alexander Usyskin <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions