2013/8/15 Rafał Miłecki <zajec5@xxxxxxxxx>: > 2013/8/15 Alex Deucher <alexdeucher@xxxxxxxxx>: >> +static void dce4_afmt_write_speaker_allocation(struct drm_encoder *encoder) >> +{ >> + struct radeon_device *rdev = encoder->dev->dev_private; >> + struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); >> + struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; >> + struct drm_connector *connector; >> + struct radeon_connector *radeon_connector = NULL; >> + u32 offset, tmp; >> + u8 *sadb; >> + int sad_count; >> + >> + if (!dig->afmt->pin) >> + return; >> + >> + offset = dig->afmt->pin->offset; > > You don't want that (offset) :) After that trivial fix Acked-by: Rafał Miłecki <zajec5@xxxxxxxxx> -- Rafał _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel