[alsa-devel] [PATCH] ASoC: rsnd: Calculate DALIGN inversion at run-time
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue Dec 3 01:41:33 CET 2019
Hi
> There is no need to store the inverted DALIGN values in the table, as
> they can easily be calculated at run-time. This also protects against
> the introduction of inconsistencies between normal and inverted values
> by a future table modification.
>
> Reorder the two subexpressions in the AND check, to perform the least
> expensive check first.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
More information about the Alsa-devel
mailing list