diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/audio/wm8751.c | 3 | ||||
-rw-r--r-- | firmware/export/config/mpiohd300.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 30c3b0d287..d2d7f8f761 100644 --- a/firmware/drivers/audio/wm8751.c +++ b/firmware/drivers/audio/wm8751.c | |||
@@ -635,7 +635,10 @@ void audiohw_set_recsrc(int source, bool recording) | |||
635 | wmcodec_clear_bits(RIGHTMIX2, RIGHTMIX2_RI2RO); | 635 | wmcodec_clear_bits(RIGHTMIX2, RIGHTMIX2_RI2RO); |
636 | wmcodec_set_bits(RIGHTMIX2, RIGHTMIX2_RD2RO); | 636 | wmcodec_set_bits(RIGHTMIX2, RIGHTMIX2_RD2RO); |
637 | 637 | ||
638 | #if !defined(MPIO_HD300) | ||
639 | /* HD300 uses the same socket for headphones and line-in */ | ||
638 | audiohw_mute(false); | 640 | audiohw_mute(false); |
641 | #endif | ||
639 | break; | 642 | break; |
640 | #endif | 643 | #endif |
641 | #if (INPUT_SRC_CAPS & SRC_CAP_MIC) | 644 | #if (INPUT_SRC_CAPS & SRC_CAP_MIC) |
diff --git a/firmware/export/config/mpiohd300.h b/firmware/export/config/mpiohd300.h index 72ffb062d0..6728d5cccb 100644 --- a/firmware/export/config/mpiohd300.h +++ b/firmware/export/config/mpiohd300.h | |||
@@ -19,7 +19,7 @@ | |||
19 | /* Define bitmask of input sources - recordable bitmask can be defined | 19 | /* Define bitmask of input sources - recordable bitmask can be defined |
20 | * explicitly if different | 20 | * explicitly if different |
21 | */ | 21 | */ |
22 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) | 22 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) |
23 | 23 | ||
24 | /* define the bitmask of hardware sample rates */ | 24 | /* define the bitmask of hardware sample rates */ |
25 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) | 25 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) |