commit | a2f2058e3d295fbaa5f681c1651cb5a8df840966 | [log] [tgz] |
---|---|---|
author | Daniel Mack <daniel@zonque.org> | Tue Jul 24 19:11:25 2018 +0200 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Tue Jul 24 19:11:25 2018 +0200 |
tree | d53a5b4daa696c01556511b6bfd833c2d2c385e0 | |
parent | c8f96304ec8b49f361c2ede3b3a73a2291e0f687 [diff] |
video: fbdev: pxafb: handle errors from pxafb_init_fbinfo() correctly pxafb_init_fbinfo() can not only report errors caused by failed allocations but also when the clock can't be found. To fix this, return an error pointer instead of NULL in case of errors, and up-chain the result. Signed-off-by: Daniel Mack <daniel@zonque.org> Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>