From: Mark Brown Date: Fri, 13 May 2016 13:26:35 +0000 (+0100) Subject: Merge remote-tracking branches 'asoc/topic/adsp', 'asoc/topic/ak4624', 'asoc/topic... X-Git-Tag: v4.9.8~1969^2~7^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b15d43bdf9f51c81701663f35db57e10543f405;p=platform%2Fkernel%2Flinux-rpi3.git Merge remote-tracking branches 'asoc/topic/adsp', 'asoc/topic/ak4624', 'asoc/topic/atmel' and 'asoc/topic/au1x' into asoc-next --- 3b15d43bdf9f51c81701663f35db57e10543f405 diff --cc sound/soc/codecs/cs47l24.c index 00e9b6fc,e42ba06,576087b,576087b,576087b..5ec5a68 --- a/sound/soc/codecs/cs47l24.c +++ b/sound/soc/codecs/cs47l24.c @@@@@@ -1041,10 -1067,16 -1041,10 -1041,10 -1041,10 +1067,16 @@@@@@ static irqreturn_t cs47l24_adsp2_irq(in { struct cs47l24_priv *priv = data; struct arizona *arizona = priv->core.arizona; - --- int ret; + +++ int serviced = 0; + +++ int i, ret; +++ - ret = wm_adsp_compr_handle_irq(&priv->core.adsp[2]); - if (ret == -ENODEV) { + +++ for (i = 1; i <= 2; ++i) { + +++ ret = wm_adsp_compr_handle_irq(&priv->core.adsp[i]); + +++ if (ret != -ENODEV) + +++ serviced++; + +++ } + --- ret = wm_adsp_compr_handle_irq(&priv->core.adsp[2]); --- if (ret == -ENODEV) { + +++ if (!serviced) { dev_err(arizona->dev, "Spurious compressed data IRQ\n"); return IRQ_NONE; }