linux/drivers/soc/fsl
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
..
dpio soc: fsl: dpio: Remove linux/msi.h include 2022-11-23 23:07:37 +01:00
qbman soc: fsl: qbman: Add CGR update function 2022-09-05 14:27:39 +01:00
qe soc: fsl: cpm1: qmc: Fix assigned timeslot masks 2023-03-08 17:04:53 +00:00
dpaa2-console.c soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read 2021-10-21 18:19:52 -05:00
guts.c soc: fsl: guts: check return value after calling of_iomap() in fsl_guts_get_soc_uid() 2022-07-05 08:41:55 +08:00
Kconfig soc: fsl: select FSL_GUTS driver for DPIO 2022-09-02 11:28:40 +02:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
rcpm.c soc: fsl: rcpm: Make use of the helper function devm_platform_ioremap_resource() 2021-10-21 19:37:32 -05:00