diff options
author | Chen-Yu Tsai <[email protected]> | 2016-09-07 17:09:19 +0800 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2016-09-27 11:21:36 +0300 |
commit | 7c9806e82588cd9601ab2d30ca3bfb5b8fda2965 (patch) | |
tree | b20e4105b3ffc482049971f4edd1e1bf95e29fa5 /scripts/gdb/linux/lists.py | |
parent | ca9384c5911199257cbdf48f1bc3e3986de611a2 (diff) |
simplefb: Disable and release clocks and regulators in destroy callback
simplefb gets unregister when a proper framebuffer driver comes in and
kicks it out. However the claimed clocks and regulators stay enabled
as they are only released in the platform device remove function, which
in theory would never get called.
Move the clock/regulator cleanup into the framebuffer destroy callback,
which gets called as part of the framebuffer unregister process.
Note this introduces asymmetry in how the resources are claimed and
released.
Signed-off-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions