From: Fabio Estevam Date: Tue, 30 Oct 2012 12:03:26 +0000 (-0200) Subject: mx2_camera: Fix regression caused by clock conversion X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~49^2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=376aaac1837af8ed6c1014958396322c44306cbf;p=pandora-kernel.git mx2_camera: Fix regression caused by clock conversion Since mx27 transitioned to the commmon clock framework in 3.5, the correct way to acquire the csi clock is to get csi_ahb and csi_per clocks separately. By not doing so the camera sensor does not probe correctly: soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0 mx2-camera mx2-camera.0: Camera driver attached to camera 0 ov2640 0-0030: Product ID error fb:fb mx2-camera mx2-camera.0: Camera driver detached from camera 0 mx2-camera mx2-camera.0: MX2 Camera (CSI) driver probed, clock frequency: 66500000 Adapt the mx2_camera driver to the new clock framework and make it functional again. Tested-by: Gaƫtan Carlier Tested-by: Javier Martin Signed-off-by: Fabio Estevam Signed-off-by: Sascha Hauer Acked-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed