Re: [PATCH v4 5/6] ASoC: sophgo: add CV1800B internal DAC codec driver
Mark Brown <[email protected]>
| Newsgroups | dev.linux.lists.sophgo,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jan 27, 2026 at 07:11:24PM +0400, Anton D. Stavinskii wrote: > On Tue, Jan 27, 2026 at 12:49:52PM +0400, Mark Brown wrote: > > Nothing ever mutes the DAC so this is a bit redundant. The mute should > > probably be a mute_stream() operation. > I'm not sure here. DAC mute feature was not implemented because I don't know how > exactly do that. The public documentation is very weak for my taste. > This call added here to be sure that override flag is > not set (override feature replaces the output by setting it to constant > value and ignoring the input, so it is some kind of mute from my understanding. > So ensuring this off is needed be sure that DAC will output our I2S data). > What do you think will be better to do here? > I'm sure that is needed, but may be better to move > it to some early stages, like probe function. It's probably fine to leave the functional code as is but you should add some comments to the mute function explaining waht's going on here.
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAml41jYACgkQJNaLcl1U h9DvQAf+OiroM7nH8QOX1NaSJVvy9B/1hfdynFnaK+SbJP/lMp8bM0VZfV1zbgKk KEPUW6fk+OkycL5Qd9oiRuLf5BVb1CvzreYkv24xg/5f7b9tki+qc1NTwCVcCWU7 RdOaf/YEdLbOgpk2APDtn9AwrfKSVZcuNlSUMGyXnTEVGABbGgx2c3wDiqjts2cB HyuOE4W82gMsLkP+QuBYIhuY8gyXg8kY7GFejrakOm89inTSOzR6hggArLzMOKY/ VhE12PZ/837kiUrlCjPceVMbOFbpLkciDe7fCb3e0YQabDSFzQbk8qjSDG2uZ06R VPI5Qi3CG/KHSdnVE/nD0d/ARcsHMw== =jGOT -----END PGP SIGNATURE-----