• Sakari Ailus's avatar
    media: am437x-vpfe: Register V4L2 device early · 4c50b0a8
    Sakari Ailus authored
    Register V4L2 device before the async 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>
    4c50b0a8
am437x-vpfe.c 68.4 KB