OSDN Git Service

[media] V4L: omap1-camera: fix huge lookup array
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 13 May 2011 16:11:38 +0000 (13:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 15:04:32 +0000 (12:04 -0300)
commite9ceeced6feb6f072d59b87fe5a47c37e2b50d51
treeed4f969ad09adf1b02940720dd6c3a8167c12709
parent93f116d595e9aa7dca5f6507376d6995f217d420
[media] V4L: omap1-camera: fix huge lookup array

Since V4L2_MBUS_FMT_* codes have become large and sparse, they cannot
be used as array indices anymore.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap1_camera.c