diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2020-11-06 08:25:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-06 18:46:01 +0100 |
commit | 372c4bd11de1793667e11d19c29fffc80495eeca (patch) | |
tree | 4ef792bebeab72633f8ab9318d25ac7b27c4c822 /sound/soc/ti/omap-mcbsp-st.c | |
parent | Merge series "ASoC: dt-bindings: audio-graph-card: switch to yaml base Docume... (diff) | |
download | linux-372c4bd11de1793667e11d19c29fffc80495eeca.tar.xz linux-372c4bd11de1793667e11d19c29fffc80495eeca.zip |
ASoC: ti: davinci-mcasp: Use platform_get_irq_byname_optional
Depending on the integration of McASP either the 'common' or the
'rx' and 'tx' or only the 'tx' interrupt number is valid, provided.
By switching to platform_get_irq_byname_optional() we can clean up the
bootlog from messages like:
davinci-mcasp 2ba0000.mcasp: IRQ common not found
The irq number == 0 is not valid, fix the check at the same time.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201106072551.689-2-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti/omap-mcbsp-st.c')
0 files changed, 0 insertions, 0 deletions