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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux