Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Heiko Stuebner 7cd7943dc5 drm/rockchip: rgb: don't count non-existent devices when determining subdrivers
rockchip_drm_endpoint_is_subdriver() may also return error codes.
For example if the target-node is in the disabled state, so no
platform-device is getting created for it.

In that case current code would count that as external rgb device,
which in turn would make probing the rockchip-drm device fail.

So only count the target as rgb device if the function actually
returns 0.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200121224828.4070067-1-heiko@sntech.de
2020-03-11 09:44:14 +01:00
..
2020-01-20 11:42:57 +10:00
2020-03-02 09:22:43 +01:00
2020-03-02 09:22:49 +01:00
2020-03-02 09:22:56 +01:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-01-14 16:22:17 -05:00
2020-01-14 16:22:17 -05:00
2020-03-09 09:22:50 +00:00