]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/powerplay: fix pp_dpm_get_current_power_state() (v2)
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 3 Apr 2017 18:41:47 +0000 (21:41 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Apr 2017 17:40:33 +0000 (13:40 -0400)
commit0f987cd0d78ead344a07c6fe215234f3be51d051
tree823ed880efd16ccd1b928a607d30985a20aac9e7
parent502372878af1caa0b3050b0820ef112a5b8adf6b
drm/amd/powerplay: fix pp_dpm_get_current_power_state() (v2)

This switch statement is missing breaks.

v2: agd: break in default case as well

Fixes: 2a5071056e6a ("drm/amd/powerplay: add global PowerPlay mutex.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c