projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4958cf3
)
usb: phy: samsung: Fix wrong bit mask for PHYPARAM1_PCS_TXDEEMPH
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 8 Aug 2014 07:27:15 +0000
(16:27 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 19 Aug 2014 14:24:25 +0000
(09:24 -0500)
According to the datasheet, PHYPARAM1_PCS_TXDEEMPH is set as
6 bits [5:0]. Thus, the bit mask should be set as 0x3f, instead
of 0x1f.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-samsung-usb.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-samsung-usb.h
b/drivers/usb/phy/phy-samsung-usb.h
index 68771bfd18253df19dd2f999086611d0314d4b90..80eedd45a20aed05417066229040ccfaf4381b21 100644
(file)
--- a/
drivers/usb/phy/phy-samsung-usb.h
+++ b/
drivers/usb/phy/phy-samsung-usb.h
@@
-216,7
+216,7
@@
#define EXYNOS5_DRD_PHYPARAM1 (0x20)
-#define PHYPARAM1_PCS_TXDEEMPH_MASK (0x
1
f << 0)
+#define PHYPARAM1_PCS_TXDEEMPH_MASK (0x
3
f << 0)
#define PHYPARAM1_PCS_TXDEEMPH (0x1c)
#define EXYNOS5_DRD_PHYTERM (0x24)