diff options
author | Maxim Kochetkov <fido_max@inbox.ru> | 2024-12-19 07:22:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-01-13 14:16:44 +0000 |
commit | d5a4d7f10fcdcae952f7d5c603c61795c0abb7a7 (patch) | |
tree | 406d61a2ed1f2579c208ce399ede633756c6895b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 139fa599cea0fd9d38e00246ea9f79af6c59acbd (diff) |
ASoC: codecs: nau8824: fix max volume for Speaker output
There is no audio output if Speaker volume is set above 25.
According to datasheet Rev 2.5 maximum allowed value for the
Speaker output is 0b11001 (25)
0x6D CLASSD_GAIN_1/ 0x6E CLASSD_GAIN_2:
Left/Right Channel Class-D Driver Gain For DAC Left/Right
Input
(Step size is 1dB.)
00000 = Mute (DEFAULT)
00001 = 0dB
00002 = 1dB
...
11000 = 23dB
11001 = 24dB
So adjust this value in accordance with the datasheet.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Link: https://patch.msgid.link/20241219042227.7075-1-fido_max@inbox.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions