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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment