acrn-kernel/drivers/media/platform/ti
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
..
am437x media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
cal media: ti: cal: use frame desc to get vc and dt 2022-05-17 09:11:57 +02:00
davinci media: isif: remove unnecessary check of res 2022-05-13 11:02:20 +02:00
omap media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
omap3isp media: platform: return early if the iface is not handled 2022-05-13 11:02:18 +02:00
vpe media: platform: re-structure TI drivers 2022-03-18 05:58:35 +01:00
Kconfig media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00
Makefile media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00