Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231498

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

From Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed
Date 2015-09-23 17:10 +0200
Message-ID <qbTQe-7KM-17@gated-at.bofh.it> (permalink)
References (4 earlier) <q9XEC-3gD-19@gated-at.bofh.it> <q9ZwK-5W4-11@gated-at.bofh.it> <qaYRY-1qj-1@gated-at.bofh.it> <qbqXU-89s-11@gated-at.bofh.it> <qbHFo-6V2-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 23, 2015 at 11:04:04AM +0900, Inha Song wrote:
>  Hi, Charles,
> 
> I saw the log with LOG_DEVICE in regmap. But, I'm not sure the reason that suspend noirq failed is IRQ occuring.
> 
> Here is my log:
> --
> root@localhost:~# aplay test.wav 
> [   41.049072] s3c64xx_spi_runtime_suspend
> [   41.056043] arizona spi1.0: ASRC underclocked
> ....
> [   72.308238] arizona spi1.0: Suspend, disabling IRQ
> [   72.320286] arizona spi1.0: 400 <= 0
> [   72.320310] s3c64xx_spi_runtime_resume
> [   72.336047] arizona spi1.0: 51a <= 0
> [   72.336217] arizona spi1.0: 101 <= 8604
> [   72.336401] arizona spi1.0: 171 <= 3
> [   72.336425] arizona spi1.0: 171 <= 2
> [   72.336731] arizona spi1.0: 171 <= 0
> [   72.336751] arizona spi1.0: SYSCLK cleared
> [   72.338584] arizona spi1.0: SYSCLK cleared

This bit looks likely related to your problem, it looks like the
FLL is being turned off. My guess here would be that you haven't
called snd_soc_dapm_ignore_suspend from your machine driver, you
need to call this for all end points that may want to stay
powered up during system suspend and also set the ignore_suspend
flag on any DAI links you want to remain active during system
suspend.

Likely what is happening here is that you are disabling the FLL
and this is causing some IRQ which is then causing a wake event
thus aborting the suspend.

Thanks,
Charles
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if  the state is runtime resumed Inha Song <ideal.song@samsung.com> - 2015-09-23 04:10 +0200
  Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM  function if the state is runtime resumed Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-23 17:10 +0200
    Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if  the state is runtime resumed Inha Song <ideal.song@samsung.com> - 2015-09-24 03:40 +0200
      Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM  function if the state is runtime resumed Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-24 10:10 +0200
        Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if  the state is runtime resumed Inha Song <ideal.song@samsung.com> - 2015-09-25 10:00 +0200
          Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM  function if the state is runtime resumed Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-27 18:40 +0200

csiph-web