]> git.baikalelectronics.ru Git - kernel.git/commit
drm: msm: dsi: Don't attempt changing voltage of switches
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 18 Aug 2015 17:34:32 +0000 (10:34 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 22 Oct 2015 19:39:53 +0000 (15:39 -0400)
commit1496f166b9fd969ceab2da95bb86c36fb67066a1
treeca69f9b2f8df07341e6b50cd7728dbc4417a7fc9
parente6dcff28b84e967023dd62e7ff6bfc03e8061616
drm: msm: dsi: Don't attempt changing voltage of switches

In some configurations the supplies are voltage switches and not LDOs,
making the set voltage call to fail. Check with the regulator framework
if the supply can change voltage before attempting.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c