]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging/ipu7: cleanup the MMU correctly in IPU7 driver release
authorBingbu Cao <bingbu.cao@intel.com>
Fri, 15 Aug 2025 09:20:37 +0000 (17:20 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 25 Aug 2025 13:40:43 +0000 (15:40 +0200)
commit01a80b6649e69e4889b8521de022d3ee4bc5cb6f
tree46e782b2e392c21e9312aefceef087ea7d4f602e
parent8abb489f9aa181882ece7c24712ad39cbb9dab81
media: staging/ipu7: cleanup the MMU correctly in IPU7 driver release

IPU7 ISYS and PSYS auxiliary devices are released after
ipu7_bus_del_devices(), so driver can not reference the MMU devices
from ISYS and PSYS auxiliary devices, so move the MMUs cleanup before
releasing the auxiliary devices.

Fixes: b7fe4c0019b1 ("media: staging/ipu7: add Intel IPU7 PCI device driver")
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
[Sakari Ailus: Drop extra newline.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/ipu7/ipu7.c