]> 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)
commitedb91528eb7ec46d376d2e505ffb26062f55fe76
treeca69f9b2f8df07341e6b50cd7728dbc4417a7fc9
parent4d513f793ce7ec3b674b39c8dd3f1c4b53147c4c
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