diff options
author | Simon Trimmer <simont@opensource.cirrus.com> | 2024-06-17 14:53:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-19 11:54:31 +0100 |
commit | 3ec1428d7b7c519d757a013cef908d7e33dee882 (patch) | |
tree | 096610bad5b4827bd1573028613f20b4405e8feb /tools/perf/scripts/python/stackcollapse.py | |
parent | 9f774c757e3fb2ac32dc4377e8f21f3364a8df81 (diff) |
ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
IRQ lookup functions such as those in ACPI can return error values when
an IRQ is not defined. The i2c core driver converts the error codes to a
value of 0 and the SPI bus driver passes them unaltered to client device
drivers.
The cs35l56 driver should only accept positive non-zero values as IRQ
numbers.
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Fixes: 8a731fd37f8b ("ASoC: cs35l56: Move utility functions to shared file")
Link: https://msgid.link/r/20240617135338.82006-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions