commit | 216814fb0167673c6417b5db83ade84e58031e2c | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Thu Oct 10 09:06:27 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Wed Dec 11 09:04:39 2013 -0200 |
tree | 7216fe2dd92ed1133407c4baac108cced5aaa15d | |
parent | f3632ba850c70bf24a80295621857166e0c0b14c [diff] |
[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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>