[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2624804.tm1DkxDElZ@phil>
Date: Wed, 11 Mar 2020 10:00:45 +0100
From: Heiko Stuebner <heiko@...ech.de>
To: hjc@...k-chips.com
Cc: dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
miquel.raynal@...tlin.com, christoph.muellner@...obroma-systems.com
Subject: Re: [PATCH] drm/rockchip: rgb: don't count non-existent devices when determining subdrivers
Am Dienstag, 21. Januar 2020, 23:48:28 CET schrieb Heiko Stuebner:
> From: Heiko Stuebner <heiko.stuebner@...obroma-systems.com>
>
> 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@...obroma-systems.com>
applied to drm-misc-next
Powered by blists - more mailing lists