]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit556a76e51b5c8e16986e2cc0a5e14306a4e2505a
treeca69f9b2f8df07341e6b50cd7728dbc4417a7fc9
parent8217e97ab9888651f4a5b24c682047457965349a
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