diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2016-05-17 10:06:54 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2016-06-02 17:43:59 +0100 |
commit | a95acec16d932ac78c2f70dc95a83bd162595d6c (patch) | |
tree | c9144809601a1940ec951bb0a2779f23a4529f6b /drivers/ata/sata_uli.c | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
drm: hdlcd: Revamp runtime power management
Because the HDLCD driver acts as a component master it can end
up enabling the runtime PM functionality before the encoders
are initialised. This can cause crashes if the component slave
never probes (missing module) or if the PM operations kick in
before the probe finishes.
Move the enabling of the runtime PM after the component master
has finished collecting the slave components and use the DRM
atomic helpers to suspend and resume the device.
Tested-by: Robin Murphy <Robin.Murphy@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'drivers/ata/sata_uli.c')
0 files changed, 0 insertions, 0 deletions