[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161027141956.GL25322@sirena.org.uk>
Date: Thu, 27 Oct 2016 15:19:56 +0100
From: Mark Brown <broonie@...nel.org>
To: "Jon Medhurst (Tixy)" <tixy@...aro.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Jyri Sarha <jsarha@...com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ASoC: hdmi-codec: Fix hdmi_of_xlate_dai_name when
#sound-dai-cells = <0>
On Thu, Oct 27, 2016 at 12:42:48PM +0100, Jon Medhurst (Tixy) wrote:
> - int id = args->args[0];
> + int id = args->args_count ? args->args[0] : 0;
Please write normal if statements for legibility.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists