mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
greybus: es1: fix debugfs dentry leak
Fix dentry leak due to failure to remove debugfs file. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
74cd6503e5
commit
fb7a4ea22b
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ static void ap_disconnect(struct usb_interface *interface)
|
|||
for (i = 0; i < NUM_CPORT_IN_URB; ++i)
|
||||
usb_kill_urb(es1->cport_in_urb[i]);
|
||||
|
||||
debugfs_remove(apb1_log_enable_dentry);
|
||||
usb_log_disable(es1);
|
||||
|
||||
/* Tear down everything! */
|
||||
|
|
Loading…
Reference in a new issue