]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: aiu: fix irq registration
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 14 Feb 2020 13:13:48 +0000 (14:13 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 14 Feb 2020 20:51:15 +0000 (20:51 +0000)
commitfdfc68ef4307930bd84f7fa8a14de79ca9ab2439
treeebda03100f11f27b1e60c83fddc3bb639406926c
parentbe5e7a407131c18b7db206e2783aa5b78f0dea82
ASoC: meson: aiu: fix irq registration

The aiu stored the irq in an unsigned integer which may have discarded an
error returned by platform_get_irq_byname(). This is incorrect and should
have been a signed integer.

Also drop the irq error traces from the probe function as this is already
done by platform_get_irq_byname().

Fixes: 662a9c50f179 ("ASoC: meson: aiu: add i2s and spdif support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200214131350.337968-4-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu.c
sound/soc/meson/aiu.h