Thread (18 messages) 18 messages, 3 authors, 2021-12-01

Re: [PATCH v10 4/8] drm/ingenic: Add dw-hdmi driver for jz4780

From: Mark Brown <broonie@kernel.org>
Date: 2021-12-01 13:39:18
Also in: dri-devel, linux-devicetree, lkml

On Wed, Dec 01, 2021 at 01:02:45PM +0000, Paul Cercueil wrote:
Le mar., nov. 30 2021 at 22:26:37 +0100, H. Nikolaus Schaller
quoted
+	regulator = devm_regulator_get_optional(&pdev->dev, "hdmi-5v");
+	if (IS_ERR(regulator)) {
+		ret = PTR_ERR(regulator);
Why is this using _optional()?  This should only be done when the supply
can be physically absent (in which case I'd expect to see special
handling).

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help