The bus error IRQ is requested in bus probe and so should be cleaned up
in bus remove. There is already a call to do this in bus remove so just
remove the duplicated free in codec_remove.
Change-Id: If867d75b672d8dd55db42f93b7c1f4d5cae19606
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
int i;
struct cs47l90 *cs47l90 = snd_soc_codec_get_drvdata(codec);
- for (i = 0; i < CS47L90_NUM_ADSP; i++) {
+ for (i = 0; i < CS47L90_NUM_ADSP; i++)
wm_adsp2_codec_remove(&cs47l90->core.adsp[i], codec);
- madera_destroy_bus_error_irq(&cs47l90->core, i);
- }
cs47l90->core.madera->dapm = NULL;
struct cs47l92 *cs47l92 = snd_soc_codec_get_drvdata(codec);
wm_adsp2_codec_remove(&cs47l92->core.adsp[0], codec);
- madera_destroy_bus_error_irq(&cs47l92->core, 0);
cs47l92->core.madera->dapm = NULL;