aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/samsung/phy-exynos-dp-video.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2019-07-19 14:25:32 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2019-08-23 09:40:59 +0530
commit6aeec986f1bc5d8b30bf23b2bf330deed28f37ea (patch)
treeb5f178d3748f57a4d6d80b4e8d6aa21aa0bdc91a /drivers/phy/samsung/phy-exynos-dp-video.c
parentphy: core: document phy_calibrate() (diff)
downloadlinux-dev-6aeec986f1bc5d8b30bf23b2bf330deed28f37ea.tar.xz
linux-dev-6aeec986f1bc5d8b30bf23b2bf330deed28f37ea.zip
phy: samsung: disable bind/unbind platform driver feature
Samsung PHY drivers control the power to the SoC core components needed by their client devices (USB HCDs, SATA, camera ISP bridge, DP encoder) to properly operate. Disabling PHYs in runtime usually causes the client device to crash with external abort exception or similar issue due to lack of API to notify clients about PHY removal. This patch removes the possiblity to unbind Samsung Exynos PHY drivers in runtime. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/samsung/phy-exynos-dp-video.c')
-rw-r--r--drivers/phy/samsung/phy-exynos-dp-video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/samsung/phy-exynos-dp-video.c b/drivers/phy/samsung/phy-exynos-dp-video.c
index aebd216dcf2f..6c607df1dc9a 100644
--- a/drivers/phy/samsung/phy-exynos-dp-video.c
+++ b/drivers/phy/samsung/phy-exynos-dp-video.c
@@ -109,6 +109,7 @@ static struct platform_driver exynos_dp_video_phy_driver = {
.driver = {
.name = "exynos-dp-video-phy",
.of_match_table = exynos_dp_video_phy_of_match,
+ .suppress_bind_attrs = true,
}
};
module_platform_driver(exynos_dp_video_phy_driver);