Re: [PATCH] ASoC: tas2562: Add support for digital volume control

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

 



Mark

On 2/20/20 1:18 PM, Mark Brown wrote:
On Thu, Feb 20, 2020 at 12:46:57PM -0600, Dan Murphy wrote:
On 2/20/20 12:45 PM, Mark Brown wrote:
Is there a reason not to use the chip default here?  Otherwise this
looks good.
Chip default is set to 0dB full blast+ 0x40400000.  This sets the volume to
-110dB.
OK...  that's a policy decision the same as all other volume changes and
so shouldn't be done by the driver - as ever we don't know how the
system is set up and what values make sense and keeping things out of
the driver means we don't end up with competing system integration
decisions causing changes in the driver.  The system may have an
external amplifier they prefer to use for hardware volume control, may
prefer to do entirely soft volume control in their sound server or
something like that.

But this is an amplifier.  Not sure why the system designer would design cascading amplifiers.

And if that was the case wouldn't you want the output to be low so you don't overdrive the ext amplifier front end?

I mean I have no qualms with removing the init from the driver. I will send v3 tomorrow after a 24 hour review cycle.

I was considering safety in that the device is on at full blast (not sure why the HW is defaulted that way but it is).

But if volume is adjusted prior to playback then this is not an issue.  But if volume is not adjusted then it plays full blast.

Dan




[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