diff options
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 2d69395d37..167dd85abb 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "i2s.h" | 34 | #include "i2s.h" |
35 | #include "ascodec.h" | 35 | #include "ascodec.h" |
36 | 36 | ||
37 | #if CONFIG_CPU == AS3525v2 | 37 | #ifdef HAVE_AS3543 |
38 | /* Headphone volume goes from -81.0 ... +6dB */ | 38 | /* Headphone volume goes from -81.0 ... +6dB */ |
39 | #define VOLUME_MIN -820 | 39 | #define VOLUME_MIN -820 |
40 | #define VOLUME_MAX 60 | 40 | #define VOLUME_MAX 60 |
@@ -48,7 +48,7 @@ | |||
48 | * This drivers supports: | 48 | * This drivers supports: |
49 | * as3514 , as used in the PP targets | 49 | * as3514 , as used in the PP targets |
50 | * as3515 , as used in the as3525 targets | 50 | * as3515 , as used in the as3525 targets |
51 | * as3543 , as used in the as3525v2 targets | 51 | * as3543 , as used in the as3525v2 and other as3543 targets |
52 | */ | 52 | */ |
53 | 53 | ||
54 | #if CONFIG_CPU == AS3525 | 54 | #if CONFIG_CPU == AS3525 |
@@ -278,7 +278,7 @@ void audiohw_set_volume(int vol_l, int vol_r) | |||
278 | /*AS3543 mixer can go a little louder then the as3514, although | 278 | /*AS3543 mixer can go a little louder then the as3514, although |
279 | * it might be possible to go louder on the as3514 as well */ | 279 | * it might be possible to go louder on the as3514 as well */ |
280 | 280 | ||
281 | #if CONFIG_CPU == AS3525v2 | 281 | #ifdef HAVE_AS3543 |
282 | #define MIXER_MAX_VOLUME 0x1b | 282 | #define MIXER_MAX_VOLUME 0x1b |
283 | #else /* lets leave the AS3514 alone until its better tested*/ | 283 | #else /* lets leave the AS3514 alone until its better tested*/ |
284 | #define MIXER_MAX_VOLUME 0x16 | 284 | #define MIXER_MAX_VOLUME 0x16 |