20 Jul
2023
20 Jul
'23
4:11 p.m.
On Thu, Jul 20, 2023 at 02:31:37PM +0100, Stefan Binding wrote:
To enable the speaker output in external boost mode, 2 registers must be set, one after another. The longer the time between the writes of the two registers, the more likely, and more loudly a pop may occur. To minimize this, an mbox command can be used to allow the firmware to perform this action, minimizing any delay between write, thus minimizing any pop or click as a result. The old method will remain when running without firmware.
In addition, to ensure the chip has correctly powered up or down, the driver will now poll a register, rather than wait a fixed delay.
That should probably be a separate patch.
Acked-by: Mark Brown broonie@kernel.org