diff options
-rw-r--r-- | drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c b/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c index 58721c46fba4..c00e2b47d5c1 100644 --- a/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c +++ b/drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c | |||
@@ -352,7 +352,7 @@ static int rockchip_vpu_video_device_register(struct rockchip_vpu_dev *vpu) | |||
352 | vpu->vfd_enc = vfd; | 352 | vpu->vfd_enc = vfd; |
353 | video_set_drvdata(vfd, vpu); | 353 | video_set_drvdata(vfd, vpu); |
354 | 354 | ||
355 | ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); | 355 | ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); |
356 | if (ret) { | 356 | if (ret) { |
357 | v4l2_err(&vpu->v4l2_dev, "Failed to register video device\n"); | 357 | v4l2_err(&vpu->v4l2_dev, "Failed to register video device\n"); |
358 | goto err_free_dev; | 358 | goto err_free_dev; |