Re: [RESEND PATCH v3 02/17] media: v4l2-fwnode: Pass notifier to v4l2_async_register_fwnode_subdev()
From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2020-02-27 07:51:06
Also in:
linux-media, lkml
From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2020-02-27 07:51:06
Also in:
linux-media, lkml
On Wed, Feb 26, 2020 at 03:50:04PM -0800, Steve Longerbeam wrote:
Hi Sakari, Thanks for the feedback. On 2/25/20 7:07 AM, Sakari Ailus wrote:quoted
Hi Steve, On Sat, Feb 15, 2020 at 11:41:21AM -0800, Steve Longerbeam wrote:quoted
Instead of allocating a notifier in v4l2_async_register_fwnode_subdev(), have the caller provide one. This allows the caller to implement notifier ops (bind, unbind). The caller is now responsible for first initializing its notifier with a call to v4l2_async_notifier_init(). Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>Instead of improving v4l2_async_register_fwnode_subdev(), could you convert the users (IMX driver in this case) to call the preferred APIs instead?I presume you mean using v4l2_async_notifier_add_fwnode_remote_subdev(). Ok, I'll convert to use that API.
Thanks, Steve! -- Sakari Ailus _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel