]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/edp: Drop regulator_set_voltage call
authorArchit Taneja <architt@codeaurora.org>
Fri, 29 Apr 2016 09:49:36 +0000 (15:19 +0530)
committerRob Clark <robdclark@gmail.com>
Sun, 8 May 2016 14:22:17 +0000 (10:22 -0400)
commit504001d5531de57fb1b1b521805d7b91c942c283
tree66821a3cbb90e485d58788b2bdd86cf21461ffa3
parentc328892bd2aa25551d6b7fb47dc8a1e999c2bc89
drm/msm/edp: Drop regulator_set_voltage call

The eDP driver tries to set a fixed voltage for one of its regulators(vdda)
before enabling it. This shouldn't be done by the driver, the voltage
constraints should be specified on the regulator via DT and managed by
the regulator core. A driver should call regulator_set_voltage only if
it needs to change the voltage during runtime. Drop the
regulator_set_voltage call. Mention in a comment the voltage that the
regulator expects.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/edp/edp_ctrl.c