diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2020-02-14 14:13:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-14 21:51:15 +0100 |
commit | 6e700f0672199f773ad645c2b7e886c1d2e2046e (patch) | |
tree | ebda03100f11f27b1e60c83fddc3bb639406926c /sound/soc/meson/aiu.h | |
parent | ASoC: meson: aiu: fix clk bulk size allocation (diff) | |
download | linux-6e700f0672199f773ad645c2b7e886c1d2e2046e.tar.xz linux-6e700f0672199f773ad645c2b7e886c1d2e2046e.zip |
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: 6ae9ca9ce986 ("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>
Diffstat (limited to 'sound/soc/meson/aiu.h')
-rw-r--r-- | sound/soc/meson/aiu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/aiu.h b/sound/soc/meson/aiu.h index a65a576e3400..097c26de7b7c 100644 --- a/sound/soc/meson/aiu.h +++ b/sound/soc/meson/aiu.h @@ -26,7 +26,7 @@ enum aiu_clk_ids { struct aiu_interface { struct clk_bulk_data *clks; unsigned int clk_num; - unsigned int irq; + int irq; }; struct aiu { |