[alsa-devel] [PATCH 02/11] ASoC: Intel: Skylake: Fix delay wrap condition
Vinod Koul
vinod.koul at intel.com
Thu Feb 4 16:03:48 CET 2016
On Thu, Feb 04, 2016 at 11:24:36AM +0000, Mark Brown wrote:
> On Wed, Feb 03, 2016 at 05:59:45PM +0530, Vinod Koul wrote:
>
> > + delay = (hstream->bufsize == delay) ? 0 : delay;
>
> Please don't abuse the ternery operator, if you're not inserting it into
> the middle of another expression there's no reason not to use a normal
> if statement.
Ah okay. Sure I will send an update to modify this
Thanks
--
~Vinod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160204/f86c15a5/attachment.sig>
More information about the Alsa-devel
mailing list