This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle resources for omap_devices
omap_device relies on the platform notifier callbacks managing resources behind the scenes. The resources were not properly linked causing crashes when removing the device. Rework the resource modification code so that linking is performed properly, and make sure that no resources that have no parent (which can happen for DMA & IRQ resources) are ever left for cleanup by the core resource layer. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
- Loading branch information
Showing
1 changed file
with
148 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters