diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-08-08 07:27:15 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-19 14:24:25 (GMT) |
commit | bbc66e140babbc7026fa07478b588f2b56f99751 (patch) | |
tree | cbf5fc744f330589f29f8973f9f30c429d9f79e9 /drivers/usb | |
parent | 4958cf32f66df854b932b601eef2da3f95973339 (diff) | |
download | linux-bbc66e140babbc7026fa07478b588f2b56f99751.tar.xz |
usb: phy: samsung: Fix wrong bit mask for PHYPARAM1_PCS_TXDEEMPH
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/phy/phy-samsung-usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-samsung-usb.h b/drivers/usb/phy/phy-samsung-usb.h index 68771bf..80eedd4 100644 --- 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 (0x1f << 0) +#define PHYPARAM1_PCS_TXDEEMPH_MASK (0x3f << 0) #define PHYPARAM1_PCS_TXDEEMPH (0x1c) #define EXYNOS5_DRD_PHYTERM (0x24) |