1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/media/platform/ti/cal
Tomi Valkeinen 7a12903182 media: ti: cal: use frame desc to get vc and dt
Use get_frame_desc() to get the frame desc from the connected source,
and use the provided virtual channel and datatype instead of hardcoded
ones.

get_frame_desc() can contain multiple streams, but as we don't support
multiple streams yet, we will just always use the first stream.

If the source doesn't support get_frame_desc(), fall back to the
previous method of always capturing virtual channel 0 and any datatype.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-05-17 09:11:57 +02:00
..
cal-camerarx.c media: ti: cal: use frame desc to get vc and dt 2022-05-17 09:11:57 +02:00
cal-video.c media: v4l: ioctl: Set bus_info in v4l_querycap() 2022-04-24 08:07:08 +01:00
cal.c media: ti: cal: use frame desc to get vc and dt 2022-05-17 09:11:57 +02:00
cal.h media: ti: cal: use frame desc to get vc and dt 2022-05-17 09:11:57 +02:00
cal_regs.h media: platform: re-structure TI drivers 2022-03-18 05:58:35 +01:00
Makefile media: platform: re-structure TI drivers 2022-03-18 05:58:35 +01:00