Commit fb7a4ea2 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: es1: fix debugfs dentry leak

Fix dentry leak due to failure to remove debugfs file.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 74cd6503
...@@ -372,6 +372,7 @@ static void ap_disconnect(struct usb_interface *interface) ...@@ -372,6 +372,7 @@ static void ap_disconnect(struct usb_interface *interface)
for (i = 0; i < NUM_CPORT_IN_URB; ++i) for (i = 0; i < NUM_CPORT_IN_URB; ++i)
usb_kill_urb(es1->cport_in_urb[i]); usb_kill_urb(es1->cport_in_urb[i]);
debugfs_remove(apb1_log_enable_dentry);
usb_log_disable(es1); usb_log_disable(es1);
/* Tear down everything! */ /* Tear down everything! */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment