usb: xhci: tegra: fix dt parse error
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Wed, 13 Nov 2013 09:59:55 +0000 (14:59 +0530)
committerKrishna Yarlagadda <kyarlagadda@nvidia.com>
Fri, 22 Nov 2013 14:46:52 +0000 (06:46 -0800)
commitc8d293cd64e730a28580e02163686e7083a7cf6c
treed5f3637b9d2f0a593eb84bcbb8e6988b3b1415aa
parent3f5fb08ae8fb8279aa4b317f555c904293b1c98b
usb: xhci: tegra: fix dt parse error

In dt all constants are considered to be u32 and when read back in
driver we would get msb (which is zero always for a u8). changing
driver to read the value as u32 and then save to u8. this will
ensure proper conversion

Change-Id: I23e5ad3476a2f4eace759560e50eb073cfad9cdd
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/330208
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/host/xhci-tegra.c