25 Sep
2017
25 Sep
'17
6:34 p.m.
On Mon, Sep 25, 2017 at 01:39:12AM +0000, Kuninori Morimoto wrote:
From: Kuninori Morimoto kuninori.morimoto.gx@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.