diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-02-08 15:47:49 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-02-17 10:04:26 +0300 |
commit | fc12bccda8b6f5c38139eceec9e369ed78091b2b (patch) | |
tree | 78cffad2343f78653f1ae1bcfd3ca3c83da961f6 /lib/kasprintf.c | |
parent | 7089db84e356562f8ba737c29e472cc42d530dbc (diff) | |
download | linux-fc12bccda8b6f5c38139eceec9e369ed78091b2b.tar.xz |
drm/imx: imx-tve: Do not set the regulator voltage
Commit deb65870b5d9d ("drm/imx: imx-tve: check the value returned by
regulator_set_voltage()") exposes the following probe issue:
63ff0000.tve supply dac not found, using dummy regulator
imx-drm display-subsystem: failed to bind 63ff0000.tve (ops imx_tve_ops): -22
When the 'dac-supply' is not passed in the device tree a dummy regulator is
used and setting its voltage is not allowed.
To fix this issue, do not set the dac-supply voltage inside the driver
and let its voltage be specified in the device tree.
Print a warning if the the 'dac-supply' voltage has a value different
from 2.75V.
Fixes: deb65870b5d9d ("drm/imx: imx-tve: check the value returned by regulator_set_voltage()")
Cc: <stable@vger.kernel.org> # 4.8+
Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions