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)
commit396888772ab738eca923d13fd3d55733091c5daf
treea79aa9f1ae9d103d4ea2cdb3fda57bec5557f137
parenta7ea9385d41716f8dd5f69b4a5deaf836d67d968
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