]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Return errno codes from PLL compute functions
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 14 Jul 2021 14:22:29 +0000 (16:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:13:33 +0000 (20:13 +0200)
commit0909c64d2bde6907e10358aef700b278b1c0211c
tree6853839aefa012a6bc229c582ddbb2a32b497447
parent129c00f74d1f74c9c31e929b81c4e6afa7732555
drm/mgag200: Return errno codes from PLL compute functions

Return -EINVAL if there's no PLL configuration for the given pixel
clock. The returned errors are currently ignored by the caller, but
the errno codes will become useful when the compute functions run
during atomic checks.

v2:
* give a rational for this change (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714142240.21979-3-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c