7 Sep
2022
7 Sep
'22
1:42 p.m.
On Mon, Sep 05, 2022 at 11:17:50PM +0000, Kuninori Morimoto wrote:
From: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
snd_soc_dai_link_event_pre_pmu() is using if/else for config->formats check, but "else" case is for just error. Unnecessary if/else is not good for readable code. this patch checks if config->formats was zero and call "goto out" in such case.
This isn't applying for me, I suspect it depends on patch 1 though I didn't check properly.