diff options
author | 2025-01-14 15:58:39 +0100 | |
---|---|---|
committer | 2025-01-24 09:20:48 +0200 | |
commit | 2654d4711375ec32ffb8c83644e3af716d009b63 (patch) | |
tree | e3a627404cff67aa5171ce55f04bd4c7792d2eec | |
parent | drm/panel-edp: Add STA 116QHD024002 (diff) | |
download | wireguard-linux-2654d4711375ec32ffb8c83644e3af716d009b63.tar.xz wireguard-linux-2654d4711375ec32ffb8c83644e3af716d009b63.zip |
drm/omap/dss: Use of_property_present() to test existence of DT property
of_property_read_bool() should be used only on boolean properties.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250114145840.505459-1-krzysztof.kozlowski@linaro.org
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index 7b2df3185de4..319f0a1d23a7 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c @@ -1236,7 +1236,7 @@ static int dss_video_pll_probe(struct dss_device *dss) if (!np) return 0; - if (of_property_read_bool(np, "syscon-pll-ctrl")) { + if (of_property_present(np, "syscon-pll-ctrl")) { dss->syscon_pll_ctrl = syscon_regmap_lookup_by_phandle(np, "syscon-pll-ctrl"); if (IS_ERR(dss->syscon_pll_ctrl)) { |