commit | 3553a8eadb711e9236e517e44be67665bb5b4c65 | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Mon Mar 09 14:17:58 2015 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Mar 17 22:30:10 2015 +0100 |
tree | 22bccef1ad67537e36347aa5c7c62876d15bf374 | |
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>