diff options
author | Tom Rini <trini@konsulko.com> | 2020-08-24 20:24:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-25 08:12:05 -0400 |
commit | 8ee3a24fdc237c76cead618a173740594287dd96 (patch) | |
tree | a19a58ee49166c02dce5bdb35262bb48c2078e8c /drivers/phy | |
parent | 3c0cec035e5b06b638fb52ccd7383bbd5bcede35 (diff) | |
parent | 3337b291442e31b1db0ff5975f74fec7d9741794 (diff) |
Merge branch '2020-08-24-misc-improvements'
- Squashfs compression support
- Coverity fixes
- XEN guest updates
- Finish previous MediaTek updates
- Arm Total Compute platform support
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-mtk-tphy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-tphy.c index 326227a30d..3d7b9cd2b1 100644 --- a/drivers/phy/phy-mtk-tphy.c +++ b/drivers/phy/phy-mtk-tphy.c @@ -698,11 +698,10 @@ static int mtk_tphy_probe(struct udevice *dev) tphy->dev = dev; tphy->version = dev_get_driver_data(dev); - /* v1 has shared banks */ + /* v1 has shared banks for usb/pcie mode, */ + /* but not for sata mode */ if (tphy->version == MTK_TPHY_V1) { tphy->sif_base = dev_read_addr_ptr(dev); - if (!tphy->sif_base) - return -ENOENT; } dev_for_each_subnode(subnode, dev) { |