[media] vb2: stop_streaming should return void
[deliverable/linux.git] / drivers / media / platform / exynos4-is / fimc-m2m.c
index 36971d915b530ac3ee284ec80d892459ef7e7333..d314155da9e4afed19bae48ac6e2e8a9e58e082f 100644 (file)
@@ -85,7 +85,7 @@ static int start_streaming(struct vb2_queue *q, unsigned int count)
        return ret > 0 ? 0 : ret;
 }
 
-static int stop_streaming(struct vb2_queue *q)
+static void stop_streaming(struct vb2_queue *q)
 {
        struct fimc_ctx *ctx = q->drv_priv;
        int ret;
@@ -95,7 +95,6 @@ static int stop_streaming(struct vb2_queue *q)
                fimc_m2m_job_finish(ctx, VB2_BUF_STATE_ERROR);
 
        pm_runtime_put(&ctx->fimc_dev->pdev->dev);
-       return 0;
 }
 
 static void fimc_device_run(void *priv)
This page took 0.025313 seconds and 5 git commands to generate.