summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/davinci_vpfe/dm365_resizer.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2015-05-08 03:12:32 +0200
committerMauro Carvalho Chehab2016-01-11 15:18:50 +0100
commit3efdf62c5f68007020ef935ad2887e7fc4e31c36 (patch)
tree47bf2d5d7748ce0efb81548cbe20b4b2e3cfb329 /drivers/staging/media/davinci_vpfe/dm365_resizer.c
parent[media] media: add macros to check if subdev or V4L2 DMA (diff)
downloadkernel-qcow2-linux-3efdf62c5f68007020ef935ad2887e7fc4e31c36.tar.gz
kernel-qcow2-linux-3efdf62c5f68007020ef935ad2887e7fc4e31c36.tar.xz
kernel-qcow2-linux-3efdf62c5f68007020ef935ad2887e7fc4e31c36.zip
[media] media: use macros to check for V4L2 subdev entities
Instead of relying on media subtype, use the new macros to detect if an entity is a subdev or an A/V DMA entity. Please note that most drivers assume that there's just AV_DMA or V4L2 subdevs. This is not true anymore, as we've added MC support for DVB, and there are plans to add support for ALSA and FB/DRM too. Ok, on the current pipelines supported by those drivers, just V4L stuff are there, but, assuming that some day a pipeline that also works with other subsystems will ever added, it is better to add explicit checks for the AV_DMA stuff. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/davinci_vpfe/dm365_resizer.c')
0 files changed, 0 insertions, 0 deletions