|
@@ -989,9 +989,10 @@ static struct v4l2_m2m_ops s5p_jpeg_m2m_ops = {
|
|
|
* ============================================================================
|
|
|
*/
|
|
|
|
|
|
-static int s5p_jpeg_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers,
|
|
|
- unsigned int *nplanes, unsigned int sizes[],
|
|
|
- void *alloc_ctxs[])
|
|
|
+static int s5p_jpeg_queue_setup(struct vb2_queue *vq,
|
|
|
+ const struct v4l2_format *fmt,
|
|
|
+ unsigned int *nbuffers, unsigned int *nplanes,
|
|
|
+ unsigned int sizes[], void *alloc_ctxs[])
|
|
|
{
|
|
|
struct s5p_jpeg_ctx *ctx = vb2_get_drv_priv(vq);
|
|
|
struct s5p_jpeg_q_data *q_data = NULL;
|