]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt9p031: Identify color/mono models using I2C device name
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Mar 2012 13:42:52 +0000 (10:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 16:32:22 +0000 (13:32 -0300)
commit05a9c4fa5f1761a017add693c0e35676d2a8687f
tree987d4a258766c779fe124b9d76268166e407f8ab
parentb739aaab0f894d7055bc65691800fe925a0cc747
[media] mt9p031: Identify color/mono models using I2C device name

Instead of passing a color/monochrome flag through platform data, rely
on the I2C device name to identify the chip model.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9p031.c
include/media/mt9p031.h