mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
greybus: es2: 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
715d7a7280
commit
74cd6503e5
1 changed files with 1 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ static void ap_disconnect(struct usb_interface *interface)
|
|||
for (i = 0; i < NUM_BULKS; ++i)
|
||||
es2_cport_in_disable(es2, &es2->cport_in[i]);
|
||||
|
||||
debugfs_remove(es2->apb_log_enable_dentry);
|
||||
usb_log_disable(es2);
|
||||
|
||||
/* Tear down everything! */
|
||||
|
|
|
|||
Loading…
Reference in a new issue