commit | fe369e1826b3efae11012ad07d1713223c37ec5d | [log] [tgz] |
---|---|---|
author | Gevorg Sahakyan <Gevorg.Sahakyan@synopsys.com> | Fri Jul 27 12:26:29 2018 +0400 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jul 30 10:39:18 2018 +0300 |
tree | 13674f57aaeb9f3650d74b5470bd698a4df89109 | |
parent | b138e23d3dff90c0494925b4c1874227b81bddf7 [diff] |
usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic. Declared dwc2_check_core_endianness() function for dynamicly check core endianness. Added needs_byte_swap flag to hsotg structure, and depending on flag swap value inside dwc2_readl/writel functions. Signed-off-by: Gevorg Sahakyan <sahakyan@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>