1. 10 Aug, 2023 10 commits
    • Sakari Ailus's avatar
      media: v4l: async: Set v4l2_device and subdev in async notifier init · b8ec754a
      Sakari Ailus authored
      Set the v4l2_device already in async notifier init, so struct device
      related to it will be available before the notifier is registered. This
      requires separating notifier initialisation into two functions, one that
      takes v4l2_device as its argument, v4l2_async_nf_init and
      v4l2_async_subdev_nf_init, for sub-device notifiers. Registering the
      notifier will use a single function, v4l2_async_nf_register.
      
      This is done in order to make struct device available earlier, during
      construction of the async connections, for sensible debug prints.
      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>
      b8ec754a
    • Sakari Ailus's avatar
      media: qcom: Initialise V4L2 async notifier later · 5651bab6
      Sakari Ailus authored
      Initialise V4L2 async notifier and parse DT for async sub-devices later,
      just before registering 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>
      5651bab6
    • Sakari Ailus's avatar
      media: davinci: Init async notifier after registering V4L2 device · 2c62a9b8
      Sakari Ailus authored
      Initialise the V4L2 async notifier after registering the V4L2 device, just
      before parsing DT for async sub-devices. 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>
      2c62a9b8
    • Sakari Ailus's avatar
      media: xilinx-vipp: Init async notifier after registering V4L2 device · 7f81d6f0
      Sakari Ailus authored
      Initialise the V4L2 async notifier after registering the V4L2 device, just
      before parsing DT for async sub-devices. 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>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.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>
      7f81d6f0
    • Sakari Ailus's avatar
      media: omap3isp: Initialise V4L2 async notifier later · f6336d89
      Sakari Ailus authored
      Initialise V4L2 async notifier and parse DT for async sub-devices later,
      just before registering 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>
      f6336d89
    • 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
    • Sakari Ailus's avatar
      media: marvell: cafe: Register V4L2 device earlier · 4af65141
      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>
      4af65141
    • 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
    • Sakari Ailus's avatar
      media: pxa_camera: Fix probe error handling · 6e1e132e
      Sakari Ailus authored
      Fix and simplify error handling in pxa_camera probe, by moving devm_*()
      functions early in the probe function and then tearing down what was set
      up on error patch.
      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>
      6e1e132e
    • Sakari Ailus's avatar
      media: adv748x: Return to endpoint matching · 1e345458
      Sakari Ailus authored
      Return the two CSI-2 transmitters of adv748x to endpoint matching. This
      should make the driver work again as expected.
      
      Fixes: 1029939b ("media: v4l: async: Simplify async sub-device fwnode matching")
      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>
      1e345458
  2. 28 Jul, 2023 27 commits
  3. 27 Jul, 2023 1 commit
  4. 26 Jul, 2023 1 commit
  5. 25 Jul, 2023 1 commit