]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: es8328: Use cached regmap on resume
authorHsieh Hung-En <hungen3108@gmail.com>
Fri, 30 Jan 2026 16:00:16 +0000 (00:00 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2026 12:50:02 +0000 (12:50 +0000)
commit9917d99f44231b531a1c704bbbd58059e78c2f59
tree09e394a0ae6f83f1e9b6ed094dc6bb5aa814ff08
parent3570e8eef217e60178d23eb490a34d64249bee45
ASoC: es8328: Use cached regmap on resume

Use the regmap stored in the driver private data when restoring the
register cache on resume, instead of looking it up from the device.

This keeps the resume path consistent with the regmap instance used by
the driver and avoids relying on a separate dev_get_regmap() lookup.

Signed-off-by: Hsieh Hung-En <hungen3108@gmail.com>
Link: https://patch.msgid.link/20260130160017.2630-5-hungen3108@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c