diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-12-02 18:58:34 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-12-09 21:35:00 +0300 |
| commit | 49df1e3925824cf44e590daac635974270185841 (patch) | |
| tree | d9a802210400a4dfd8772d42669af54aa6f02087 /include/linux/timerqueue.h | |
| parent | 3176f94c467cf89f74120c34a3ddd9aaf8941be2 (diff) | |
| download | linux-49df1e3925824cf44e590daac635974270185841.tar.xz | |
ASoC: rsnd: Calculate DALIGN inversion at run-time
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@glider.be>
Reviewed-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20191202155834.22582-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
