[PATCH 13/18] s5k5baf: fix subdev type

2015-05-07 Thread Mauro Carvalho Chehab
This sensor driver is abusing MEDIA_ENT_T_V4L2_SUBDEV, creating some subdevs with a non-existing type. As this is a sensor driver, the proper type is likely MEDIA_ENT_T_CAM_SENSOR. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/i2c/s5k5baf.c b/drivers/media/i2c/s5k5baf.c index

Re: [PATCH 13/18] s5k5baf: fix subdev type

2015-05-08 Thread Andrzej Hajda
Hi Mauro, On 05/08/2015 03:12 AM, Mauro Carvalho Chehab wrote: > This sensor driver is abusing MEDIA_ENT_T_V4L2_SUBDEV, creating > some subdevs with a non-existing type. > > As this is a sensor driver, the proper type is likely > MEDIA_ENT_T_CAM_SENSOR. This driver exposes two media entities: - p

Re: [PATCH 13/18] s5k5baf: fix subdev type

2015-05-08 Thread Mauro Carvalho Chehab
Hi Andrzej, Em Fri, 08 May 2015 15:51:16 +0200 Andrzej Hajda escreveu: > Hi Mauro, > > On 05/08/2015 03:12 AM, Mauro Carvalho Chehab wrote: > > This sensor driver is abusing MEDIA_ENT_T_V4L2_SUBDEV, creating > > some subdevs with a non-existing type. > > > > As this is a sensor driver, the prop