]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 14 Dec 2011 19:59:30 +0000 (21:59 +0200)
commit995c22c9fe6651b99811ad83426148181ac36561
tree4ed36bb0a2f06ef0efa4dcf0777a1253c171f686
parentb352c391b90bedcdbb9af86802390cc24ea6bf8d
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