diff options
| author | Cristian Ciocaltea <[email protected]> | 2023-03-28 12:49:01 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-28 14:49:30 +0100 |
| commit | 39db65a0a17b54915b269d3685f253a4731f344c (patch) | |
| tree | a79d10b6718705349b2a35e0c8f87a251bf1f476 /tools/perf/scripts/python | |
| parent | d23d50de4ad9a960b752b8b7f4ffce32e05a8971 (diff) | |
ASoC: es8316: Handle optional IRQ assignment
The driver is able to work fine without relying on a mandatory interrupt
being assigned to the I2C device. This is only needed when making use of
the jack-detect support.
However, the following warning message is always emitted when there is
no such interrupt available:
es8316 0-0011: Failed to get IRQ 0: -22
Do not attempt to request an IRQ if it is not available/valid. This also
ensures the rather misleading message is not displayed anymore.
Also note the IRQ validation relies on commit dab472eb931bc291 ("i2c /
ACPI: Use 0 to indicate that device does not have interrupt assigned").
Fixes: 822257661031 ("ASoC: es8316: Add jack-detect support")
Signed-off-by: Cristian Ciocaltea <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions