Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757107Ab3GEHQx (ORCPT ); Fri, 5 Jul 2013 03:16:53 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:54583 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534Ab3GEHQv (ORCPT ); Fri, 5 Jul 2013 03:16:51 -0400 MIME-Version: 1.0 In-Reply-To: <51D62074.9070303@atmel.com> References: <1372667978-4718-1-git-send-email-richard.genoud@gmail.com> <1372667978-4718-2-git-send-email-richard.genoud@gmail.com> <51D24299.9050209@atmel.com> <51D29927.80900@atmel.com> <51D4CC94.3020908@atmel.com> <51D62074.9070303@atmel.com> From: Richard Genoud Date: Fri, 5 Jul 2013 09:16:30 +0200 Message-ID: Subject: Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support To: Bo Shen Cc: devicetree-discuss@lists.ozlabs.org, Nicolas Ferre , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1539 Lines: 41 2013/7/5 Bo Shen : > Yes, I aware this issue. > Actually the system not hang, the resource all are occupied by the > interrupt. This because, we enable the interrupt, when once interrupt occur, > I try many methods to clear it, however we can not clear it. So, it > generates the interrupt all the time. It seems the system hang. > > Temp solution: not enable the interrupt. use the following patch to disable > the interrupt. > ---8>--- > diff --git a/sound/soc/atmel/atmel_ssc_dai.c > b/sound/soc/atmel/atmel_ssc_dai.c > index 0ecf356..bb53dea 100644 > --- a/sound/soc/atmel/atmel_ssc_dai.c > +++ b/sound/soc/atmel/atmel_ssc_dai.c > @@ -649,7 +649,7 @@ static int atmel_ssc_prepare(struct snd_pcm_substream > *substream, > dma_params = ssc_p->dma_params[dir]; > > ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_enable); > - ssc_writel(ssc_p->ssc->regs, IER, dma_params->mask->ssc_error); > + ssc_writel(ssc_p->ssc->regs, IDR, dma_params->mask->ssc_error); > > pr_debug("%s enabled SSC_SR=0x%08x\n", > dir ? "receive" : "transmit", > ---<8--- > > BTW, I am checking this with our IP team, if find the real solution, I will > fix it. ok, I'll rebase my patches on that. Thanks ! Best Regards, Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/