Re: [PATCH v2] drm/imx: imx-tve: Do not set the regulator voltage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-02-08 at 10:47 -0200, Fabio Estevam wrote:
> 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@xxxxxxxxxxxxxxx> # 4.8+
> Suggested-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxx>

Thanks, I've applied this instead of the devm_regulator_get_optional
patch.

regards
Philipp

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]