summaryrefslogtreecommitdiff
path: root/firmware/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index dd70b42230..8b68a5569b 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -465,7 +465,7 @@ void sound_set_volume(int value)
465 || defined(HAVE_WM8721) || defined(HAVE_TLV320) || defined(HAVE_WM8751) \ 465 || defined(HAVE_WM8721) || defined(HAVE_TLV320) || defined(HAVE_WM8751) \
466 || defined(HAVE_AS3514) 466 || defined(HAVE_AS3514)
467 current_volume = value * 10; /* tenth of dB */ 467 current_volume = value * 10; /* tenth of dB */
468 set_prescaled_volume(); 468 set_prescaled_volume();
469#elif CONFIG_CPU == PNX0101 469#elif CONFIG_CPU == PNX0101
470 int tmp = (60 - value * 4) & 0xff; 470 int tmp = (60 - value * 4) & 0xff;
471 CODECVOL = tmp | (tmp << 8); 471 CODECVOL = tmp | (tmp << 8);