diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-07-15 15:12:17 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-07-30 10:19:45 +0200 |
commit | cba97805cb69d5b1a1d3bb108872c73b5bf0e205 (patch) | |
tree | e39848026859b29a45924f831f0eba547ca9267a /drivers/idle | |
parent | drm/nouveau/acpi: return supported DSM functions (diff) | |
download | linux-cba97805cb69d5b1a1d3bb108872c73b5bf0e205.tar.xz linux-cba97805cb69d5b1a1d3bb108872c73b5bf0e205.zip |
drm/nouveau/acpi: check for function 0x1B before using it
Do not unconditionally invoke function 0x1B without checking for its
availability, it leads to an infinite loop on some firmware.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=104791
Fixes: 5addcf0a5f0fad ("nouveau: add runtime PM support (v0.9)")
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Acked-by: Dave Airlie <airlied@redhat.com
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions