
5 May
2025
5 May
'25
1:35 p.m.
On Mon, May 05, 2025 at 09:19:49AM +0800, Shenghao Ding wrote:
"Acoustic Tuning" debufs node is a bridge to the acoustic tuning tool which can tune the chips' acoustic effect.
include/sound/tas2781.h | 16 ++++ sound/soc/codecs/Kconfig | 16 ++++ sound/soc/codecs/tas2781-i2c.c | 154 +++++++++++++++++++++++++++++++++
One of the key things about the define that's used for the regmap API version of this is that it's not visible in Kconfig, you have to edit the kernel source due to the whole directly exposing the registers things. It'd be too easy for a distro or something to just turn the define on by mistake otherwise. That's why it's a define in the code instead. The code itself looks fine.