drm/radeon: fix PCC debugging message for CI DPM
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Nov 2014 16:52:48 +0000 (11:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Nov 2014 18:00:11 +0000 (13:00 -0500)
Add missing newline and print the bad gpio shift.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c

index 83121403ce3b0e2f6001a8dda77c06d5096d66ce..c9963b589336906d8cfbea8e6c5c39d158dde488 100644 (file)
@@ -5773,7 +5773,7 @@ int ci_dpm_init(struct radeon_device *rdev)
                        tmp |= DPM_ENABLED;
                        break;
                default:
-                       DRM_ERROR("Invalid PCC GPIO!");
+                       DRM_ERROR("Invalid PCC GPIO: %u!\n", gpio.shift);
                        break;
                }
                WREG32_SMC(CNB_PWRMGT_CNTL, tmp);