diff options
| author | Herve Codina via Alsa-devel <[email protected]> | 2023-03-07 15:15:03 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-08 17:04:53 +0000 |
| commit | f37acbde076d8dbf5e4c694f29760e608fdffe11 (patch) | |
| tree | 468caf607b6ec84952c05d5e3a26ff35978d08a6 /tools/perf/scripts/python/bin | |
| parent | 0fb6f518cb46cf8bac7c30c29171050e355cd738 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/167819855177.26.11163930602844526001@mailman-core.alsa-project.org
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions