]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Search for TE-gpio in DSI panel's node
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 24 Jan 2022 13:52:46 +0000 (14:52 +0100)
committerInki Dae <inki.dae@samsung.com>
Fri, 25 Feb 2022 00:50:48 +0000 (09:50 +0900)
commitf3109e9eba362c95e4dad5876db44c5fdddae10c
tree7cf268901159d79dc6609c368caa4198496044ce
parent35b0b4fdd58cb196d4d57aaf9da4a4a453702550
drm/exynos: Search for TE-gpio in DSI panel's node

TE-gpio, if defined, is placed in the panel's node, not the parent DSI
node. Change the devm_gpiod_get_optional() to gpiod_get_optional() and
pass proper device node to it. The code already has a proper cleanup
path, so it looks that the devm_* variant has been applied accidentally
during the conversion to gpiod API.

Fixes: aa1b4e6b867c ("drm/exynos: Replace legacy gpio interface for gpiod interface")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Fixed a typo.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c