From: Mark Brown <broonie@kernel.org>
To: Pengpeng Hou <hppiscas@163.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Seven Lee <wtli@nuvoton.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/9] ASoC: nau8821: stop resume when cache sync fails
Date: Tue, 8 Sep 2026 12:45:34 +0100 [thread overview]
Message-ID: <756f4726-4352-4640-b8a9-65d6bbb62a0a@sirena.org.uk> (raw)
In-Reply-To: <20260906034321.86080-2-hppiscas@163.com>
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
On Sun, Sep 06, 2026 at 11:43:13AM +0800, Pengpeng Hou wrote:
> nau8821_resume() restores cached registers during component resume but
> ignores a regcache_sync() failure and continues with IRQ enablement.
> Those operations assume that the codec register state has already been
> restored.
> regcache_cache_only(nau8821->regmap, false);
> - regcache_sync(nau8821->regmap);
> + ret = regcache_sync(nau8821->regmap);
> + if (ret)
> + return ret;
This leaves the cache in write through mode which is probably going to
be a bad time.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-09-08 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 3:43 Pengpeng Hou
2026-09-07 11:47 ` Mark Brown
2026-09-08 11:45 ` Mark Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=756f4726-4352-4640-b8a9-65d6bbb62a0a@sirena.org.uk \
--to=broonie@kernel.org \
--cc=hppiscas@163.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=wtli@nuvoton.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®