mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
USB: serial: cp210x: add part-number debug printk
Add a part-number debug printk to facilitate debugging. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
c32dfec6c1
commit
90ca6e7db8
1 changed files with 2 additions and 0 deletions
|
@ -2140,6 +2140,8 @@ static void cp210x_determine_type(struct usb_serial *serial)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dev_dbg(&serial->interface->dev, "partnum = 0x%02x\n", priv->partnum);
|
||||||
|
|
||||||
switch (priv->partnum) {
|
switch (priv->partnum) {
|
||||||
case CP210X_PARTNUM_CP2102:
|
case CP210X_PARTNUM_CP2102:
|
||||||
cp2102_determine_quirks(serial);
|
cp2102_determine_quirks(serial);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue