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

Commit 20528eca authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Fix port deallocation mark"

parents 3cc8d13b 9dab39ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1041,7 +1041,7 @@ static void bam2bam_data_port_free(int portno)

	if (--port->ref_count == 0) {
		kfree(port);
		port = NULL;
		bam2bam_data_ports[portno] = NULL;
		n_bam2bam_data_ports--;
		pr_debug("freed port %d\n", portno);
	}