diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-07-25 18:39:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-25 18:42:35 +0200 |
commit | 01ec57a4371e573bfcfa898307af098a8c6f9dcf (patch) | |
tree | f5c20cfacb3358b2404c53c14fd9c00639ec61ba /sound/soc/codecs/cs47l90.c | |
parent | ASoC: SOF: Makefile - fix the top-level kernel module names (add snd- prefix) (diff) | |
download | linux-01ec57a4371e573bfcfa898307af098a8c6f9dcf.tar.xz linux-01ec57a4371e573bfcfa898307af098a8c6f9dcf.zip |
ASoC: wm_adsp: Allow bus error handler to be called directly
There is no need for end drivers to add helper functions to allow the
bus error handler to be called, simply update the prototype so it can be
called directly.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20190725163931.24964-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs47l90.c')
-rw-r--r-- | sound/soc/codecs/cs47l90.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sound/soc/codecs/cs47l90.c b/sound/soc/codecs/cs47l90.c index c4ecb0e6911a..67cac60a859d 100644 --- a/sound/soc/codecs/cs47l90.c +++ b/sound/soc/codecs/cs47l90.c @@ -2402,13 +2402,6 @@ static irqreturn_t cs47l90_adsp2_irq(int irq, void *data) return IRQ_HANDLED; } -static irqreturn_t cs47l90_dsp_bus_error(int irq, void *data) -{ - struct wm_adsp *dsp = (struct wm_adsp *)data; - - return wm_adsp2_bus_error(dsp); -} - static int cs47l90_component_probe(struct snd_soc_component *component) { struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component); @@ -2558,7 +2551,7 @@ static int cs47l90_probe(struct platform_device *pdev) if (ret == 0) { ret = madera_init_bus_error_irq(&cs47l90->core, i, - cs47l90_dsp_bus_error); + wm_adsp2_bus_error); if (ret != 0) wm_adsp2_remove(&cs47l90->core.adsp[i]); } |