[PATCH drm/amdgpu] Fix indentation in dce_v8_0_audio_write_sad_regs()

Alexandre Demers alexandre.f.demers at gmail.com
Mon Aug 22 15:01:27 UTC 2016


Will do, thanks!

I'll make the change for the others already baking for DCE6. I still have a
thing or two to clean up, but  it's almost there.

On Mon, 22 Aug 2016 at 09:19 Deucher, Alexander <Alexander.Deucher at amd.com>
wrote:

> > -----Original Message-----
> > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> > Of Alexandre Demers
> > Sent: Sunday, August 21, 2016 8:38 PM
> > To: amd-gfx at lists.freedesktop.org
> > Subject: [PATCH drm/amdgpu] Fix indentation in
> > dce_v8_0_audio_write_sad_regs()
>
> For these and future patches, please include drm/amdgpu: in the patch
> title.
>
> Alex
>
> >
> > Fixed indentation for readability.
> >
> > Signed-off-by: Alexandre Demers <alexandre.f.demers at gmail.com>
> > ---
> >  drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 14 +++++++-------
> >  1 file changed, 7 insertions(+), 7 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
> > b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
> > index 3ff1258..c7e5d5f 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
> > @@ -1501,13 +1501,13 @@ static void
> > dce_v8_0_audio_write_sad_regs(struct drm_encoder *encoder)
> >
> >                       if (sad->format == eld_reg_to_type[i][1]) {
> >                               if (sad->channels > max_channels) {
> > -                             value = (sad->channels <<
> > -
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__MAX_CHANNEL
> > S__SHIFT) |
> > -                             (sad->byte2 <<
> > -
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__DESCRIPTOR_BY
> > TE_2__SHIFT) |
> > -                             (sad->freq <<
> > -
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__SUPPORTED_FR
> > EQUENCIES__SHIFT);
> > -                             max_channels = sad->channels;
> > +                                     value = (sad->channels <<
> > +
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__MAX_CHANNEL
> > S__SHIFT) |
> > +                                             (sad->byte2 <<
> > +
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__DESCRIPTOR_BY
> > TE_2__SHIFT) |
> > +                                             (sad->freq <<
> > +
> > AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0__SUPPORTED_FR
> > EQUENCIES__SHIFT);
> > +                                     max_channels = sad->channels;
> >                               }
> >
> >                               if (sad->format ==
> > HDMI_AUDIO_CODING_TYPE_PCM)
> > --
> > 2.9.3
> >
> > _______________________________________________
> > amd-gfx mailing list
> > amd-gfx at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20160822/b60949e9/attachment-0001.html>


More information about the amd-gfx mailing list