Skip to content
Snippets Groups Projects
Commit b49898ce authored by Wei Yongjun's avatar Wei Yongjun Committed by Bartlomiej Zolnierkiewicz
Browse files

video: fbdev: sh_mobile_lcdcfb: fix error return code in sh_mobile_lcdc_probe()


Fix to return error code -ENOMEM from the ioremap_nocache() error
handling case instead of 0, as done elsewhere in this function.

Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 8d225568
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment