Make gpiobus_alloc_resource() accept a 'child' that is not a child of
'bus'. This will be needed for cousin interrupt consumers, which may not
be a decendant of the interrupt source.
Sponsored by: The FreeBSD Foundation
Differential D59682
gpiobus: Support non-child interrupt resource consumers Authored by obiwac on Tue, Sep 15, 12:36 AM.
Details
Make gpiobus_alloc_resource() accept a 'child' that is not a child of Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions When I thought about these things, what concerned me is dependencies between a device and its non-child consumers. I think that Linux has a concept of devlink or something like that. In the end, I support this change but I think that it can open dangerous holes without additional dependency mechanism. |