USB: announce bcdDevice as well as idVendor, idProduct.
authorBenson Leung <bleung@chromium.org>
Sat, 24 Mar 2018 17:40:27 +0000 (10:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Mar 2018 10:50:44 +0000 (12:50 +0200)
commit73c6d3b284cf7b31c03fdaa2476f48f8da0932f8
tree29f16bbe9d9870a650a014fdb9c26014902a62a6
parent64627388b50158fd24d6ad88132525b95a5ef573
USB: announce bcdDevice as well as idVendor, idProduct.

Print bcdDevice which is used by vendors to identify different versions
of the same product (or different versions of firmware).

Adding this to the logs will be useful for support purposes.

Match the %2x.%02x formatting that's used by lsusb -v for this same value.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c