]> 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)
commit95bd7cdc31b3ea5d6c1c06841427c8f32e107a73
tree66821a3cbb90e485d58788b2bdd86cf21461ffa3
parent4ace0855b62c6d3dac3aa390efc522e7fe35b3df
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