summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/s5c73m3
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-08 03:12:33 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 15:18:50 +0100
commit59ecd59d782de82d8f2d2bfda2c28f87c0e8b35a (patch)
tree28e20edf9286b7e46dde28aeb6fda8f049b1cfac /drivers/media/i2c/s5c73m3
parent[media] media: use macros to check for V4L2 subdev entities (diff)
downloadlinux-59ecd59d782de82d8f2d2bfda2c28f87c0e8b35a.tar.xz
linux-59ecd59d782de82d8f2d2bfda2c28f87c0e8b35a.zip
[media] omap3/omap4/davinci: get rid of MEDIA_ENT_T_V4L2_SUBDEV abuse
On omap3/omap4/davinci drivers, MEDIA_ENT_T_V4L2_SUBDEV macro is abused in order to "simplify" the pad checks. Basically, it does a logical or of this macro, in order to check for a local index and if the entity is either a subdev or not. As we'll get rid of MEDIA_ENT_T_V4L2_SUBDEV macro, replace it by 2 << 16 where it occurs, and add a note saying that the code there is actually a hack. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
0 files changed, 0 insertions, 0 deletions