[PATCH] drm/bridge: it6505: Fix return value check for pm_runtime_get_sync
Neil Armstrong
neil.armstrong at linaro.org
Thu Oct 27 11:48:11 UTC 2022
Hi,
On Thu, 27 Oct 2022 11:21:49 +0800, Pin-yen Lin wrote:
> `pm_runtime_get_sync` may return 1 on success. Fix the `if` statement
> here to make the code less confusing, even though additional calls to
> `it6505_poweron` doesn't break anything when it's already powered.
>
> This was reported by Dan Carpenter <dan.carpenter at oracle.com> in
> https://lore.kernel.org/all/Y1fMCs6VnxbDcB41@kili/
>
> [...]
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)
[1/1] drm/bridge: it6505: Fix return value check for pm_runtime_get_sync
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=3e4a21a29dd924995f1135cd50e8b7e0d023729c
--
Neil
More information about the dri-devel
mailing list