From: Guennadi Liakhovetski Date: Wed, 27 Jul 2011 13:10:43 +0000 (-0300) Subject: [media] V4L: soc-camera: compatible bus-width flags X-Git-Tag: v3.2-rc1~63^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3baeb4628fbd608282559758a75215ac865f4d;p=pandora-kernel.git [media] V4L: soc-camera: compatible bus-width flags With the new subdevice media-bus configuration methods bus-width is not configured along with other bus parameters, instead, it is derived from the data format. With those methods it is convenient to specify supported bus-widths in the platform data as (1 << (width - 1)). We redefine SOCAM_DATAWIDTH_* flags to use the same convention to make platform data seemlessly reusable. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed