From: Laurent Pinchart Date: Thu, 10 Oct 2013 12:06:27 +0000 (-0300) Subject: [media] v4l: omap4iss: csi2: Replace manual if statement with a subclk field X-Git-Tag: v3.14-rc1~20^2~310 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216814fb0167673c6417b5db83ade84e58031e2c;p=pandora-kernel.git [media] v4l: omap4iss: csi2: Replace manual if statement with a subclk field Instead of manually checking whether the CSI2 module is CSI2a or CSI2b in order to select the right subclock to enable/disable, add a subclk field to the iss_csi2 structure, initialize it with the corresponding subclock value and use it at runtime. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed