Re: [PATCH] ASoC: hdmi-codec: Fix hdmi_of_xlate_dai_name when #sound-dai-cells = <0>

From: Mark Brown
Date: Thu Oct 27 2016 - 10:33:31 EST


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.

Attachment: signature.asc
Description: PGP signature