]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: lvds: improve error handling in helper functions
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Dec 2019 14:38:56 +0000 (15:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Jan 2020 11:43:13 +0000 (12:43 +0100)
commitc358e4ed42243870aca115d9001f0385677cee09
tree7b572fe09d15af51d64b6ab0e982c0eeacfb3551
parent0d0445c55b567801b4b9dfa4df5f951e4774682f
drm/rockchip: lvds: improve error handling in helper functions

Return errors instead of returning void from internal helpers. When
these helpers are called, check the returned value and print an error
message in this case and not blindly continue.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191224143900.23567-8-miquel.raynal@bootlin.com
drivers/gpu/drm/rockchip/rockchip_lvds.c