usb: dwc3: core: fix cached revision on our structure
authorFelipe Balbi <balbi@ti.com>
Wed, 14 Dec 2011 19:59:30 +0000 (21:59 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 22 Mar 2012 08:42:55 +0000 (10:42 +0200)
commit5a8bcba8fb666bb785707c8fccc7ac232de8204e
tree89ffb6bf5473b84062c3557f9be2afe6be0bdb2c
parent968e092321f337a821300b89272eafff14fa4ce7
usb: dwc3: core: fix cached revision on our structure

All our revision macros are defined with the entire
32-bits which we read from GSNPSID register, so we
must cache all 32-bits properly rather than masking
the top 16-bits.

This will fix all revision checks we have on current
driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c