[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230717-regmap-cache-check-v1-0-73ef688afae3@kernel.org>
Date: Mon, 17 Jul 2023 21:33:02 +0100
From: Mark Brown <broonie@...nel.org>
To: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>
Subject: [PATCH 0/3] regmap: Add interface for checking if a register is
cached
HDA has a use case for checking if a register is present in the cache
which it awkwardly open codes with use of _cache_only() and a read,
provide a direct API for this.
---
Mark Brown (3):
regmap: Let users check if a register is cached
regmap: Provide test for regcache_reg_present()
ALSA: hda: Use regcache_reg_cached() rather than open coding
drivers/base/regmap/regcache.c | 23 ++++++++++++++++++++++
drivers/base/regmap/regmap-kunit.c | 40 ++++++++++++++++++++++++++++++++++++++
include/linux/regmap.h | 1 +
sound/hda/hdac_regmap.c | 9 +++------
4 files changed, 67 insertions(+), 6 deletions(-)
---
base-commit: 3953d5c79c21defa716624a8623c4157c0f2fee0
change-id: 20230716-regmap-cache-check-6f6939f41ed5
Best regards,
--
Mark Brown <broonie@...nel.org>
Powered by blists - more mailing lists