diff options
author | Zhengjun Xing <zhengjun.xing@linux.intel.com> | 2018-02-12 15:24:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-15 20:36:19 +0300 |
commit | 8c5a93ebf7ac56d47f879b3c7c2f8c83b40c2cdb (patch) | |
tree | 6553a80db35e7feae1c79dd00954400082792ef8 /drivers/hwmon/dell-smm-hwmon.c | |
parent | d91676717261578f429d3577dbe9154b26e8abf7 (diff) | |
download | linux-8c5a93ebf7ac56d47f879b3c7c2f8c83b40c2cdb.tar.xz |
xhci: xhci debugfs device nodes weren't removed after device plugged out
There is a bug after plugged out USB device, the device and its ep00
nodes are still kept, we need to remove the nodes in xhci_free_dev when
USB device is plugged out.
Fixes: 052f71e25a7e ("xhci: Fix xhci debugfs NULL pointer dereference in resume from hibernate")
Cc: <stable@vger.kernel.org> # v4.15
Signed-off-by: Zhengjun Xing <zhengjun.xing@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/dell-smm-hwmon.c')
0 files changed, 0 insertions, 0 deletions