Re: [PATCH v2 1/3] ASoC: sma1307: Add driver for Iron Device SMA1307

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux