Skip to content
Commit fee5c1e4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Helge Deller
Browse files

video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()

If "sinfo->config" is not found, then return -ENODEV.  Don't
return success.

Fixes: b985172b

 ("video: atmel_lcdfb: add device tree suport")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 0f8a1cae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment