]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas6424: Allow disabling auto diagnostics for faster power-on
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 3 May 2018 07:36:27 +0000 (09:36 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 3 May 2018 23:13:12 +0000 (08:13 +0900)
commit0c0c9d2b850526bd8b46adbc9f27b08a3dbf32d1
treea79aa9f1ae9d103d4ea2cdb3fda57bec5557f137
parentec4128f348ef1a3fe4f3ed8cdc5e641c22a4db10
ASoC: tas6424: Allow disabling auto diagnostics for faster power-on

The TAS6424 incorporates both DC-load and AC-load diagnostics which are
used to determine the status of the load. The DC diagnostics runs when any
channel is directed to leave the Hi-Z state and enter the MUTE or PLAY
state.
The DC diagnostics are turned on by default but, if a fast startup without
diagnostics is required, the diagnostics can be disabled using a dedicated
ALSA control.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas6424.c
sound/soc/codecs/tas6424.h