[PATCH 5/5] drm/radeon: set speaker allocation for DCE4/5
Rafał Miłecki
zajec5 at gmail.com
Thu Aug 15 08:16:47 PDT 2013
2013/8/15 Rafał Miłecki <zajec5 at gmail.com>:
> 2013/8/15 Alex Deucher <alexdeucher at gmail.com>:
>> +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 at gmail.com>
--
Rafał
More information about the dri-devel
mailing list