diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0492-staging-bcm2835_codec-Log-MMAL-flags-in-hex.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.15/950-0492-staging-bcm2835_codec-Log-MMAL-flags-in-hex.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0492-staging-bcm2835_codec-Log-MMAL-flags-in-hex.patch b/target/linux/bcm27xx/patches-5.15/950-0492-staging-bcm2835_codec-Log-MMAL-flags-in-hex.patch new file mode 100644 index 0000000000..7bdfc399ab --- /dev/null +++ b/target/linux/bcm27xx/patches-5.15/950-0492-staging-bcm2835_codec-Log-MMAL-flags-in-hex.patch @@ -0,0 +1,24 @@ +From dbc825d8cf0435da46532cfbc7199768abc32b4c Mon Sep 17 00:00:00 2001 +From: Dave Stevenson <dave.stevenson@raspberrypi.com> +Date: Fri, 6 Aug 2021 13:43:48 +0100 +Subject: [PATCH] staging/bcm2835_codec: Log MMAL flags in hex + +The flags is a bitmask, so it's far easier to interpret as hex +data instead of decimal. + +Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> +--- + .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -1071,7 +1071,7 @@ static void op_buffer_cb(struct vchiq_mm + struct vb2_v4l2_buffer *vb2; + + v4l2_dbg(2, debug, &ctx->dev->v4l2_dev, +- "%s: status:%d, buf:%p, length:%lu, flags %u, pts %lld\n", ++ "%s: status:%d, buf:%p, length:%lu, flags %04x, pts %lld\n", + __func__, status, mmal_buf, mmal_buf->length, + mmal_buf->mmal_flags, mmal_buf->pts); + |