pinctrl: Enforce device links
Instead of opt-in device links, enforce it across the board.
Everyone probably needs this anyway, lest runtime[_pm] suspend
order will be haphazard.
Cc: Benjamin GAIGNARD <firstname.lastname@example.org>
Cc: Rafael J. Wysocki <email@example.com>
Cc: Ulf Hansson <firstname.lastname@example.org>
Signed-off-by: Linus Walleij <email@example.com>
- Create links per setting (since settings can be on different
pin controllers) when adding a setting to a pin control handle,
instead of doing this when activating the state.
- Store the link inside the setting.
- Delete the link when we free up the setting.
Benjamin: it would be GREAT if you could test this!
5 files changed