[alsa-devel] [PATCH 4/4][RESEND] ASoC: add null_snd_soc_ops and reduce NULL ops check

Mark Brown broonie at kernel.org
Mon Sep 25 18:34:23 CEST 2017


On Mon, Sep 25, 2017 at 01:39:12AM +0000, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> Double NULL pointer check for ops and ops->func is difficult to read
> and might be forget to check it if new func was add.
> This patch adds new null_snd_soc_ops and use it if rtd->dai_link didn't
> have it to avoid NULL ops, and reduces ops NULL check.

This doesn't seem to apply against current code, please check and
resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170925/08271e93/attachment.sig>


More information about the Alsa-devel mailing list