Commit 90ca6e7d authored by Johan Hovold's avatar Johan Hovold
Browse files

USB: serial: cp210x: add part-number debug printk



Add a part-number debug printk to facilitate debugging.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent c32dfec6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2140,6 +2140,8 @@ static void cp210x_determine_type(struct usb_serial *serial)
		return;
	}

	dev_dbg(&serial->interface->dev, "partnum = 0x%02x\n", priv->partnum);

	switch (priv->partnum) {
	case CP210X_PARTNUM_CP2102:
		cp2102_determine_quirks(serial);