2010/5/27 Alex Deucher <alexdeucher@xxxxxxxxx>: > diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c > index 7b5e10d..102c744 100644 > --- a/drivers/gpu/drm/radeon/radeon_combios.c > +++ b/drivers/gpu/drm/radeon/radeon_combios.c > @@ -2454,7 +2454,12 @@ default_mode: > rdev->pm.power_state[state_index].clock_info[0].mclk = rdev->clock.default_mclk; > rdev->pm.power_state[state_index].clock_info[0].sclk = rdev->clock.default_sclk; > rdev->pm.power_state[state_index].default_clock_mode = &rdev->pm.power_state[state_index].clock_info[0]; > - rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; > + if ((state_index > 0) && > + (rdev->pm.power_state[0].clock_info[0].voltage.type = VOLTAGE_GPIO)) > + rdev->pm.power_state[state_index].clock_info[0].voltage = > + rdev->pm.power_state[0].clock_info[0].voltage; > + else > + rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; Condition typo. Assignment -> comparison. -- Rafał _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel