Skip to content

Commit e2e0ee7

Browse files
committed
drm: mxsfb: Print failed bus format in hex
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 <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Reviewed-by: Robert Foss <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Acked-by: Stefan Agner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/c84b34855abbb85cd25bbb5126db302f88327640.1633959458.git.agx@sigxcpu.org
1 parent 0c464ee commit e2e0ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/mxsfb/mxsfb_kms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static void mxsfb_set_formats(struct mxsfb_drm_private *mxsfb,
8888
ctrl |= CTRL_BUS_WIDTH_24;
8989
break;
9090
default:
91-
dev_err(drm->dev, "Unknown media bus format %d\n", bus_format);
91+
dev_err(drm->dev, "Unknown media bus format 0x%x\n", bus_format);
9292
break;
9393
}
9494

0 commit comments

Comments
 (0)