summaryrefslogtreecommitdiff
path: root/drivers/media/mmc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-04-26 10:02:40 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-05-17 10:11:57 +0300
commit7a12903182c8c0e3ba61eb9c5bdf160f337686c5 (patch)
tree709ebb1ee6b8f347b7bb25b601acec33aab45d6e /drivers/media/mmc
parent897c45df291ff063d6a0acb20b3a0c276c6adf6a (diff)
downloadlinux-7a12903182c8c0e3ba61eb9c5bdf160f337686c5.tar.xz
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>
Diffstat (limited to 'drivers/media/mmc')
0 files changed, 0 insertions, 0 deletions