usb: dwc_otg: check value of uWord type after convert
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 6 Mar 2019 09:31:39 +0000 (18:31 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:02 +0000 (13:09 +0900)
commit25e911cd8822275c0d6d4bd7b81c1225157a2498
tree52f9c0aecc2c5fec7164b81d3b07a1c97beefd84
parent0ca6061ff00e67ffbeaa94702bc2ab0ece57acf3
usb: dwc_otg: check value of uWord type after convert

uWord type is array, so checking variable with the type is not
proper. Check value after convert.

Change-Id: I5eca569feb949037bda212346c481fde82525d3d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/host/dwc_otg/dwc_otg_pcd.c