2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/bridge/analogix
Rob Herring (Arm) 11c742bb5a
drm: bridge: anx7625: Use of_property_read_variable_u8_array()
There's no need to get the length of an DT array property before
parsing the array. of_property_read_variable_u8_array() takes a minimum
and maximum length and returns the actual length (or error code).

This is part of a larger effort to remove callers of of_get_property()
and similar functions. of_get_property() leaks the DT property data
pointer which is a problem for dynamically allocated nodes which may
be freed.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240731201407.1838385-4-robh@kernel.org
2024-08-19 15:27:43 +02:00
..
analogix_dp_core.c drm/bridge: analogix: remove unused struct 'bridge_init' 2024-07-19 00:42:39 +03:00
analogix_dp_core.h drm/bridge: analogix_dp: simplify and correct PLL lock checks 2024-06-27 11:52:16 +02:00
analogix_dp_reg.c drm/bridge: analogix_dp: handle AUX transfer timeouts 2024-06-27 11:52:19 +02:00
analogix_dp_reg.h drm/bridge: analogix_dp: handle AUX transfer timeouts 2024-06-27 11:52:19 +02:00
analogix-anx78xx.c drm/bridge/analogix/anx78xx: switch to struct drm_edid 2024-05-13 19:10:53 +02:00
analogix-anx78xx.h drm/bridge: split some definitions of ANX78xx to dedicated headers 2019-11-08 10:27:32 +01:00
analogix-anx6345.c drm/bridge/analogix/anx6345: switch to struct drm_edid 2024-05-13 19:10:52 +02:00
analogix-i2c-dptx.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
analogix-i2c-dptx.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
analogix-i2c-txcommon.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
anx7625.c drm: bridge: anx7625: Use of_property_read_variable_u8_array() 2024-08-19 15:27:43 +02:00
anx7625.h drm/bridge: anx7625: use struct drm_edid more 2024-05-13 19:10:55 +02:00
Kconfig Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
Makefile drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP 2020-10-16 23:35:16 +02:00