drm/radeon/kms/pm: fix typo in power table parsing
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 15 Mar 2010 05:36:32 +0000 (01:36 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 30 Mar 2010 23:54:02 +0000 (09:54 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c

index 815116e38aa35a09622dbc274f74c45b4f328971..92e6886971650f70ca4fd652f74a96ebb46b7c5a 100644 (file)
@@ -1734,7 +1734,7 @@ void radeon_atombios_get_power_modes(struct radeon_device *rdev)
                        /* add the i2c bus for thermal/fan chip */
                        /* no support for internal controller yet */
                        if (power_info->info_4.sThermalController.ucType > 0) {
-                               if ((power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) &&
+                               if ((power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) ||
                                    (power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV770)) {
                                        DRM_INFO("Internal thermal controller %s fan control\n",
                                                 (power_info->info_4.sThermalController.ucFanParameters &