[media] media: mx3_camera: Improve data bus width check code for probe
authorLiu Ying <Ying.liu@freescale.com>
Mon, 6 Aug 2012 06:02:08 +0000 (03:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 23:05:25 +0000 (20:05 -0300)
commitc4ede4cedad1163345a2c2b4abc7e2208034190e
tree222867497957a4b1f35fa860f5a47a376300ef22
parentc078ac18f3f94f643ab477949d0cd93667904e06
[media] media: mx3_camera: Improve data bus width check code for probe

This patch contains code change only to use the present macro-
MX3_CAMERA_DATAWIDTH_MASK to check valid camera platform data
bus width instead of enumerating every possible data bus width.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/mx3_camera.c