This is a reboot of this old patch:
https://patchwork.kernel.org/patch/9961789/
I've taken Sakari's suggestion and made new patches.
It happens too often that we want to log a fourcc, either in kernel
or in userspace, so I think this will be quite useful.
Regards,
Hans
Hans Verkuil (2):
videodev2.h: add macros to print a fourcc
v4l2-ioctl.c: use new V4L2_FOURCC_CONV/ARGS macros
drivers/media/v4l2-core/v4l2-ioctl.c | 8 ++------
include/uapi/linux/videodev2.h | 13 +++++++++++++
2 files changed, 15 insertions(+), 6 deletions(-)
--
2.20.1