Re: [PATCH 5/5] drm/radeon: set speaker allocation for DCE4/5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux