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)
commit1d15c1654f8c438694a8680a4faa6e5f77abd507
tree66821a3cbb90e485d58788b2bdd86cf21461ffa3
parentf377d59729e744122751977eb79b349d2e166095
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