[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180828194045.GQ2414@sirena.org.uk>
Date: Tue, 28 Aug 2018 20:40:45 +0100
From: Mark Brown <broonie@...nel.org>
To: Kirill Marinushkin <kmarinushkin@...dec.tech>
Cc: Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
M R Swami Reddy <mr.swami.reddy@...com>,
Vishwas A Deshpande <vishwas.a.deshpande@...com>,
Kevin Cernekee <cernekee@...omium.org>,
Peter Ujfalusi <peter.ujfalusi@...com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] ASoC: pcm3060: Add codec driver
On Tue, Aug 21, 2018 at 06:52:46PM +0200, Kirill Marinushkin wrote:
This looks good apart from a few small stylistic things so I'll apply,
please send followup patches fixing these:
> +++ b/sound/soc/codecs/pcm3060-i2c.c
> @@ -0,0 +1,61 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * PCM3060 I2C driver
Please make the entire comment a C++ one, it makes this look more
intentional.
> + reg = (dai->id == PCM3060_DAI_ID_DAC ? PCM3060_REG67 : PCM3060_REG72);
Please rewrite this as a normal if statement to improve legibility,
there's some other ternery operator abuse in here.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists