summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-04-11 09:14:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-11 13:43:19 +0200
commit3246eaea2e6c7b8bba094ecb90464a76b690d192 (patch)
tree25c026ec3d9165a008ec9c1998cabd06e586e641 /drivers/video
parent35fe0ffb31c47920fa287795ca04e26f32dec27e (diff)
downloadbarebox-3246eaea2e6c7b8bba094ecb90464a76b690d192.tar.gz
video: qemu-ramfb: reduce -ENODEV lo level to debug
It's perfectly normal for fw_cfg to be available, but ramfb not being configured. Driver core handles -ENODEV silently to accommodate this case. The initcall calling ramfb_probe does too, but ramfb_probe itself prints an error. Replace that with a debug print. Fixes: 1db52e5a1039 ("video: add support for QEMU ramfb") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230411071436.1630752-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/ramfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/ramfb.c b/drivers/video/ramfb.c
index 26e01196fc..3442e81b9e 100644
--- a/drivers/video/ramfb.c
+++ b/drivers/video/ramfb.c
@@ -131,7 +131,7 @@ static int ramfb_probe(struct device *parent_dev, int fd)
ret = fw_cfg_find_file(parent_dev, fd, "etc/ramfb");
if (ret < 0) {
- dev_err(parent_dev, "ramfb: fw_cfg (etc/ramfb) file not found\n");
+ dev_dbg(parent_dev, "ramfb: fw_cfg (etc/ramfb) file not found\n");
return -ENODEV;
}