Herve Codina via Alsa-devel f37acbde07
soc: fsl: cpm1: qmc: Fix assigned timeslot masks
The assigned timeslot masks are 64bit values.
In case of 64 timeslots the code uses (1 << 64) which is undefined on a
64bit value. On the PowerPC architecture, this lead to an incorrect
result as (1 << 64) produces the same result as (1 << 0).

Fix the masks values taking care of the 64 timeslots case.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/167819855177.26.11163930602844526001@mailman-core.alsa-project.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-08 17:04:53 +00:00
..
2023-02-27 10:04:49 -08:00
2022-03-23 18:23:13 -07:00
2023-02-27 10:04:49 -08:00
2023-02-27 10:04:49 -08:00
2023-01-16 09:26:06 +01:00
2022-12-19 16:07:59 -06:00