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

Commit adb39c5a 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: u_smd: Fix NULL pointer crash issue"

parents 7284b3c8 cef1d4fb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -548,6 +548,9 @@ static void gsmd_stop_io(struct gsmd_port *port)
		gsmd_free_requests(in, &port->write_pool);
		port->n_read = 0;
		port->cbits_to_laptop = 0;
	} else {
		spin_unlock(&port->port_lock);
		return;
	}

	if (port->port_usb->send_modem_ctrl_bits)