diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2015-03-09 14:17:58 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-17 22:30:10 +0100 |
commit | 3553a8eadb711e9236e517e44be67665bb5b4c65 (patch) | |
tree | 22bccef1ad67537e36347aa5c7c62876d15bf374 /drivers/gpu/drm/i915/intel_display.c | |
parent | 9d0d3fdaae08e9221070dda32348116c2a3235ed (diff) |
drm/i915: Exit early from psr_status if PSR is not supported by the device
Static analysis was complaining that a path existed where we could use
stat[] uninitialized. Fix this by simplifying the logic to exit early if
PSR isn't supported.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
0 files changed, 0 insertions, 0 deletions