diff options
author | Cristian Ciocaltea | 2023-03-28 12:49:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-05-11 23:03:28 +0900 |
commit | 321946fa10d3e04b15e1d254c05d1b9a5c3a3418 (patch) | |
tree | 8a13c82c60e0a63865b1e87b06e5f9475443d92e /drivers/target/sbp | |
parent | 873fff9fd68283e1eb85651f7af5fd76717721fd (diff) |
ASoC: es8316: Handle optional IRQ assignment
[ Upstream commit 39db65a0a17b54915b269d3685f253a4731f344c ]
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 <cristian.ciocaltea@collabora.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230328094901.50763-1-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/target/sbp')
0 files changed, 0 insertions, 0 deletions