[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200828155349.GK10899@ediswmail.ad.cirrus.com>
Date: Fri, 28 Aug 2020 15:53:49 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Sylwester Nawrocki <s.nawrocki@...sung.com>
CC: <broonie@...nel.org>, <lgirdwood@...il.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
<patches@...nsource.cirrus.com>, <alsa-devel@...a-project.org>,
<linux-kernel@...r.kernel.org>, <m.szyprowski@...sung.com>,
<b.zolnierkie@...sung.com>
Subject: Re: [PATCH 2/2] ASoC: wm8994: Ensure the device is resumed in
wm89xx_mic_detect functions
On Thu, Aug 27, 2020 at 07:33:57PM +0200, Sylwester Nawrocki wrote:
> When the wm8958_mic_detect, wm8994_mic_detect functions get called from
> the machine driver, e.g. from the card's late_probe() callback, the CODEC
> device may be PM runtime suspended and any regmap writes have no effect.
> Add PM runtime calls to these functions to ensure the device registers
> are updated as expected.
> This suppresses an error during boot
> "wm8994-codec: ASoC: error at snd_soc_component_update_bits on wm8994-codec"
> caused by the regmap access error due to the cache_only flag being set.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@...sung.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists