misc: usb251xb: Support 8/16 bit device tree values
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Tue, 14 Jun 2022 13:21:31 +0000 (15:21 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Sep 2022 19:23:03 +0000 (15:23 -0400)
commitc0facda1976f7990ad9edbaecb6802369867c1d6
tree132088c1b293e4fe76be30ada4a41d59d53a12fd
parentb471bdc47b2acabe0b5fcb0fb40a0b1c0602d3b3
misc: usb251xb: Support 8/16 bit device tree values

The device tree binding [1] specify the vendor-id, product-id, device-id
and language-id as 16 bit values and the linux driver reads the boost-up
value as 8 bit value.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/usb251xb.txt

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/misc/usb251xb.c