projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c464ee
)
drm: mxsfb: Print failed bus format in hex
author
Guido Günther
<agx@sigxcpu.org>
Mon, 11 Oct 2021 13:41:26 +0000
(15:41 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Tue, 12 Oct 2021 09:18:13 +0000
(11:18 +0200)
media-bus-formats.h has them in hexadecimal as well so matching with
that file saves one conversion when debugging.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Stefan Agner <stefan@agner.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/c84b34855abbb85cd25bbb5126db302f88327640.1633959458.git.agx@sigxcpu.org
drivers/gpu/drm/mxsfb/mxsfb_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mxsfb/mxsfb_kms.c
b/drivers/gpu/drm/mxsfb/mxsfb_kms.c
index 89dd618d78f31ab44094cfd3847392f0923b94e3..d1cab1166ecf30d781dbc998c854dbaddfff4100 100644
(file)
--- a/
drivers/gpu/drm/mxsfb/mxsfb_kms.c
+++ b/
drivers/gpu/drm/mxsfb/mxsfb_kms.c
@@
-88,7
+88,7
@@
static void mxsfb_set_formats(struct mxsfb_drm_private *mxsfb,
ctrl |= CTRL_BUS_WIDTH_24;
break;
default:
- dev_err(drm->dev, "Unknown media bus format
%d
\n", bus_format);
+ dev_err(drm->dev, "Unknown media bus format
0x%x
\n", bus_format);
break;
}