aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-07-17 21:33:05 +0100
committerMark Brown <[email protected]>2023-07-18 15:05:12 +0100
commit99aae70551f99536936438bbcfc562df69eeb79c (patch)
tree75ab82aa72fd2070b4b1f993196caf89734764d5 /tools/perf/scripts/python
parentd881ee5a872fd539a8c693e4c8656b9343c9aae0 (diff)
ALSA: hda: Use regcache_reg_cached() rather than open coding
The HDA driver intentionally drops repeated writes to registers in some circumstances, beyond the suppression of noop writes that regmap does in regmap_update_bits(). It does this by checking if the register is cached before doing a regmap_update_bits(), now we have an API for querying this directly use it directly rather than trying a read in cache only mode making the code a little clearer. Reviewed-by: Takashi Iwai <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions