OSDN Git Service

[media] davinci_vbpe: stop MEDIA_ENT_T_V4L2_SUBDEV abuse
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 8 May 2015 01:12:36 +0000 (22:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:51 +0000 (12:18 -0200)
commit14fae6fc53b2b390bbba650d60b9555e9f7f4f26
treeca17293c2420d3520be203c97e84d7ef294fe769
parent26614b9bf8b534406835ea66732c12e6fd7b50fd
[media] davinci_vbpe: stop MEDIA_ENT_T_V4L2_SUBDEV abuse

This driver is abusing MEDIA_ENT_T_V4L2_SUBDEV:

- it uses a hack to check if the remote entity is a subdev;
- it still uses the legacy entity subtype check macro, that
  will be removed soon.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/davinci_vpfe/dm365_ipipe.c
drivers/staging/media/davinci_vpfe/vpfe_video.c