Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipu6-isys: Fix ipu_isys_probe() error exit resource cleanup
Add a bunch of missing resource cleanups to ipu_isys_probe()'s error exit path. Add a missing mutex_destroy() to isys_remove() and drop the always true "if (isp->ipu_dir)" check before calling debugfs_remove_recursive(). This likely should have checked the debugfs_remove_recursive() argument is not NULL but that is not necessary, debugfs_remove_recursive() checks this itself. Signed-off-by: Hans de Goede <[email protected]>
- Loading branch information