diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2011-03-15 07:30:29 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2011-03-15 07:30:29 +0000 |
commit | 55e75866422aabbe927a52fb2ddaccc2525061a1 (patch) | |
tree | fa4f9e1478aeeefd66fc7d719f3f665b350ef89d /firmware/drivers/audio/wm8751.c | |
parent | f056669dcd1cc030e1d6206bda9a50beccbc8fc1 (diff) | |
download | rockbox-55e75866422aabbe927a52fb2ddaccc2525061a1.tar.gz rockbox-55e75866422aabbe927a52fb2ddaccc2525061a1.zip |
MPIO HD300: Enable line-in recording. Thanks Andriej Azariev for pointing out such capability of this DAP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29590 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/wm8751.c')
-rw-r--r-- | firmware/drivers/audio/wm8751.c | 3 |
1 files changed, 3 insertions, 0 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) |