aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAlex Bee <[email protected]>2021-09-14 17:07:56 +0200
committerHeiko Stuebner <[email protected]>2021-09-21 11:17:37 +0200
commit37825e07ab413187e1ea078bc33dcdb835008be2 (patch)
tree02dc33a4aeed69fe615d0092f7dd13f3fdaca0be /scripts/gdb/linux/modules.py
parentd3e2ec6cd1636ced67c6f57d95d8ad24f964691d (diff)
drm/rockchip: handle non-platform devices in rockchip_drm_endpoint_is_subdriver
As discussed at [1] rockchip_drm_endpoint_is_subdriver will currently always return -ENODEV for non-platform-devices (e.g. external i2c bridges), what makes them never being considered in rockchip_rgb_init. As suggested at [1] this additionally adds a of_device_is_available for the node found, which will work for both platform and non-platform devices. Also we can return early for non-platform-devices if they are enabled, as rockchip_sub_drivers contains exclusively platform-devices. [1] https://lore.kernel.org/all/[email protected]/ Suggested-by: Heiko Stuebner <[email protected]> Signed-off-by: Alex Bee <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions