Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74cd6503 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

greybus: es2: 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 715d7a72
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -562,6 +562,7 @@ static void ap_disconnect(struct usb_interface *interface)
	for (i = 0; i < NUM_BULKS; ++i)
	for (i = 0; i < NUM_BULKS; ++i)
		es2_cport_in_disable(es2, &es2->cport_in[i]);
		es2_cport_in_disable(es2, &es2->cport_in[i]);


	debugfs_remove(es2->apb_log_enable_dentry);
	usb_log_disable(es2);
	usb_log_disable(es2);


	/* Tear down everything! */
	/* Tear down everything! */