]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: ipu6: Use the ISYS auxdev device as the V4L2 device's device
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 30 May 2024 12:45:09 +0000 (15:45 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 15 Jun 2024 09:51:23 +0000 (11:51 +0200)
commit62028aa0b1bee4394ff683bcab692305143d8903
treeea519ff5828f5d081c7bcb0f15de0de5b71d3553
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670
media: ipu6: Use the ISYS auxdev device as the V4L2 device's device

The V4L2 device has a struct device field used for a number of purposes,
one of which determining whether a created sub-device needs to increment
the module's use count to avoid unloading the module. Thus the owner field
in this case must refer to the ipu6-isys module, corresponding to the
auxdev of the IPU6 ISYS.

Fixes: f50c4ca0a820 ("media: intel/ipu6: add the main input system driver")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ipu6/ipu6-isys.c