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/wm_adsp.h | |
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/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 3b03d1eb986f..aa634ef6c9f5 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -171,8 +171,8 @@ int wm_adsp1_event(struct snd_soc_dapm_widget *w, int wm_adsp_early_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); -irqreturn_t wm_adsp2_bus_error(struct wm_adsp *adsp); -irqreturn_t wm_halo_bus_error(struct wm_adsp *dsp); +irqreturn_t wm_adsp2_bus_error(int irq, void *data); +irqreturn_t wm_halo_bus_error(int irq, void *data); irqreturn_t wm_halo_wdt_expire(int irq, void *data); int wm_adsp_event(struct snd_soc_dapm_widget *w, |