OSDN Git Service

phy: qcom: Program SSC only if supported by sink
authorSankeerth Billakanti <quic_sbillaka@quicinc.com>
Tue, 8 Feb 2022 00:17:04 +0000 (16:17 -0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 8 Feb 2022 05:32:55 +0000 (11:02 +0530)
commit4a4c3cc146b12fea3a25748c43abfb461978bcee
tree967b820f85d8a7713a5ab3b0b291d40542f93329
parentcc62512c1be39f19dc4d5c9831c4ff00481f9de9
phy: qcom: Program SSC only if supported by sink

Some legacy eDP sinks may not support SSC. The support for SSC is
indicated through an opts flag from the controller driver. This
change will enable SSC only if the sink supports it.

Signed-off-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220207161612.REPOST.v1.3.Ie81d594ec2327dae6410db359cc492484bab171f@changeid
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-edp.c