summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-01-12 16:09:44 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-16 10:11:17 +0100
commitca02954ada711b08e5b0d84590a631fd63ed39f9 (patch)
tree169f5eda24a4e53c7af7c596b1ba254f79c29654 /drivers/firewire
parentusb: gadget: udc: atmel: remove memory leak (diff)
downloadlinux-ca02954ada711b08e5b0d84590a631fd63ed39f9.tar.xz
linux-ca02954ada711b08e5b0d84590a631fd63ed39f9.zip
usb: dwc2: gadget: Fix GUSBCFG.USBTRDTIM value
USBTrdTim must be programmed to 0x5 when phy has a UTMI+ 16-bit wide interface or 0x9 when it has a 8-bit wide interface. GUSBCFG reset value (Value After Reset: 0x1400) sets USBTrdTim to 0x5. In case of 8-bit UTMI+, without clearing GUSBCFG.USBTRDTIM mask, USBTrdTim results in 0xD (0x5 | 0x9). That's why we need to clear GUSBCFG.USBTRDTIM mask before setting USBTrdTim value, to ensure USBTrdTim is correctly set in case of 8-bit UTMI+. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions