diff options
author | Thierry Reding | 2018-03-14 11:02:18 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I | 2018-03-16 12:25:38 +0100 |
commit | e7f4da4c44fe74e1c9277bac9b12ea1ef4eb70db (patch) | |
tree | facae620fc4d3f0780b9f5007a82ff4c903ffbfb /usr | |
parent | phy: rockchip-typec: fall back to working in host-mode if extcon is missing. (diff) | |
download | kernel-qcow2-linux-e7f4da4c44fe74e1c9277bac9b12ea1ef4eb70db.tar.gz kernel-qcow2-linux-e7f4da4c44fe74e1c9277bac9b12ea1ef4eb70db.tar.xz kernel-qcow2-linux-e7f4da4c44fe74e1c9277bac9b12ea1ef4eb70db.zip |
phy: tegra: xusb: Uncomment register write
The reason why this was originally commented out is no longer clear. The
UPHY driver for SATA works fine with or without this change. The reset
value of the XDIGCLK_EN bit is 0, so unless programmed by the bootloader
this shouldn't make a difference anyway.
Define a macro for this bit and uncomment the code. This also fixes a
coverity issue brought to my attention by Rohith because not only is the
XDIGCLK_EN field modification commented out, but also the register write
which causes none of the earlier modifications of the register value to
be written to the register and the value being overwritten.
Reported-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions