]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Return if frontend is not present
authorSaud Farooqui <farooqui_saud@hotmail.com>
Wed, 22 Jun 2022 08:59:17 +0000 (13:59 +0500)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 22 Jun 2022 14:42:25 +0000 (16:42 +0200)
commit7ac37bcd23f03d552b742725f9584c9a6d6e5cce
treedc8098b9919e6f0cc16ce63f2aff26b9f39146d5
parent811e6697c07ef723bc15147c78b03f032d7b1f67
drm/sun4i: Return if frontend is not present

Added return statement in sun4i_layer_format_mod_supported()
in case frontend is not present.

Signed-off-by: Saud Farooqui <farooqui_saud@hotmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/PA4P189MB1421E93EF5F8E8E00E71B7878BB29@PA4P189MB1421.EURP189.PROD.OUTLOOK.COM
drivers/gpu/drm/sun4i/sun4i_layer.c