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>
Tue, 11 Jun 2019 00:35:54 +0000 (09:35 +0900)
commit0d2b70666571ca80a0e01eb9d44840da2d27349d
tree9ebf5986bca45b4048ce2cf0d852536718a3568d
parentbcb10cc45d24cf694c288d83f4190402accc7e47
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