12 Sep
2024
12 Sep
'24
2:23 p.m.
On Thu, Sep 12, 2024 at 08:35:05AM +0000, Ki-Seok Jo wrote:
+static DEVICE_ATTR_RW(check_fault_period);
Any reason the fault stuff isn't an ALSA control?
I'm planning to change it to ALSA control as per the feedback. Could you please let me know how to set the default value for a control? For example, I would like to set it to a value of 60. (For controls with a boolean value, I would like to initialize it with a true value.)
For something like this which isn't coming from the register map you can just pick a value and set wherever the data is stored during the CODEC init function.