projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb: rk3368: set disconnect threshold to 625 mV
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
dwc_otg_310
/
usbdev_rk3368.c
diff --git
a/drivers/usb/dwc_otg_310/usbdev_rk3368.c
b/drivers/usb/dwc_otg_310/usbdev_rk3368.c
index dd5771d228e00686182630741413172c661e608d..7af3c5488349270ec7143e4e56064becd0783215 100644
(file)
--- a/
drivers/usb/dwc_otg_310/usbdev_rk3368.c
+++ b/
drivers/usb/dwc_otg_310/usbdev_rk3368.c
@@
-23,8
+23,8
@@
static void usb20otg_hw_init(void)
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x798);
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x798);
- /* Set disconnect detection trigger point to 6
00
mv */
- uoc_write(UOC_HIWORD_UPDATE(0, 0xf, 11), 0x79c);
+ /* Set disconnect detection trigger point to 6
25
mv */
+ uoc_write(UOC_HIWORD_UPDATE(0
x9
, 0xf, 11), 0x79c);
/* other haredware init,include:
* DRV_VBUS GPIO init */
/* other haredware init,include:
* DRV_VBUS GPIO init */
@@
-220,8
+220,8
@@
static void usb20ehci_hw_init(void)
{
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x7b8);
{
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x7b8);
- /* Set disconnect detection trigger point to 6
00
mv */
- uoc_write(UOC_HIWORD_UPDATE(
1
, 0xf, 11), 0x7bc);
+ /* Set disconnect detection trigger point to 6
25
mv */
+ uoc_write(UOC_HIWORD_UPDATE(
0x9
, 0xf, 11), 0x7bc);
/* other haredware init,include:
* DRV_VBUS GPIO init */
/* other haredware init,include:
* DRV_VBUS GPIO init */