]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/media/platform/soc_camera/mx3_camera.c
[media] soc-camera: remove struct soc_camera_device::video_lock
[karo-tx-linux.git] / drivers / media / platform / soc_camera / mx3_camera.c
index 574d12522f956469e485b36f3640eac25b7ec9ef..37d0d0ef8adff07864b159fcf2051838e2792ac3 100644 (file)
@@ -510,7 +510,7 @@ static void mx3_camera_activate(struct mx3_camera_dev *mx3_cam,
                clk_set_rate(mx3_cam->clk, rate);
 }
 
-/* Called with .video_lock held */
+/* Called with .host_lock held */
 static int mx3_camera_add_device(struct soc_camera_device *icd)
 {
        struct soc_camera_host *ici = to_soc_camera_host(icd->parent);
@@ -530,7 +530,7 @@ static int mx3_camera_add_device(struct soc_camera_device *icd)
        return 0;
 }
 
-/* Called with .video_lock held */
+/* Called with .host_lock held */
 static void mx3_camera_remove_device(struct soc_camera_device *icd)
 {
        struct soc_camera_host *ici = to_soc_camera_host(icd->parent);