• Sakari Ailus's avatar
    media: pxa_camera: Register V4L2 device early · 5073d10c
    Sakari Ailus authored
    Register V4L2 device before initialising the notifier. This way the device
    can be made available to the V4L2 async framework from the notifier init
    time onwards. A subsequent patch will add struct v4l2_device as an
    argument to v4l2_async_nf_init().
    Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # imx6qp
    Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> # rcar + adv746x
    Tested-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> # Apalis i.MX6Q with TC358743
    Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # Renesas RZ/G2L SMARC
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
    5073d10c
pxa_camera.c 65.4 KB