diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2022-01-20 09:59:09 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-02-22 09:41:11 +0100 |
commit | 4f03d537ce08f93d8dc3dd1273a32f2551599000 (patch) | |
tree | 6b225d76c55845c71aab897b6c06a33faa1888a0 /drivers/rtc/rtc-max6916.c | |
parent | 9a5e6900cfa3f9653f5ab2a6715123b1e66f989d (diff) |
media: platform: mtk-vcodec: Do not force /dev/videoX node number
Let's v4l2 framework use a free /dev/videoX node for decode and encoder.
For the decoder call video_register_device() before register the media
controller device so the mapping between ins correctly done.
Since the registering sequence has changed rework exiting errors case too.
Fixes: 590577a4e525 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver")
Fixes: 4e855a6efa54 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver")
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/rtc/rtc-max6916.c')
0 files changed, 0 insertions, 0 deletions