]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98373: Added controls for autorestart config
authorRyan Lee <ryans.lee@maximintegrated.com>
Thu, 25 Mar 2021 03:35:55 +0000 (20:35 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 25 Mar 2021 13:58:57 +0000 (13:58 +0000)
commitf9a3500052c7cd84384b51242cdcad849c53db3d
tree0a143a1a8cbaa347ac1fd0a3f37217354be79d76
parente8d0ae303ba9e93ba4d704c2f5df6ada0d0ff73f
ASoC: max98373: Added controls for autorestart config

3 new controls are added.
"OVC Autorestart Switch" : controls whether or not the speaker amplifier
automatically re-enables after an overcurrent fault condition.
"THERM Autorestart Switch" : controls whether or not the device
automatically resumes playback when the die temperature recovers from
thermal shutdown.
"CMON Autorestart Switch" : controls whether or not the device
automatically resumes playback when the clock returns after stopping.

Above Auto Restart functions are enabled by default.

Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
Link: https://lore.kernel.org/r/20210325033555.29377-3-ryans.lee@maximintegrated.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373.c
sound/soc/codecs/max98373.h