projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3622113
)
audio: make raw data from spdifin source to parser[1/1]
author
Zhe Wang
<Zhe.Wang@amlogic.com>
Wed, 11 Jul 2018 02:48:27 +0000
(10:48 +0800)
committer
Yixun Lan
<yixun.lan@amlogic.com>
Wed, 11 Jul 2018 08:25:46 +0000
(
01:25
-0700)
PD#166028: support dd/dd+ decoder from spdifin
Change-Id: Id2ef5a585427db2508e89f4bc595a8dc058e941b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
sound/soc/amlogic/meson/audio_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/amlogic/meson/audio_hw.c
b/sound/soc/amlogic/meson/audio_hw.c
index 107aa7c849fea668bdd8f19cbfe76a7051649f20..65ed7207ed9f382172d583738ce0b245158124a2 100644
(file)
--- a/
sound/soc/amlogic/meson/audio_hw.c
+++ b/
sound/soc/amlogic/meson/audio_hw.c
@@
-409,6
+409,8
@@
static void i2sin_fifo0_set_buf(u32 addr, u32 size, u32 i2s_mode,
static void i2sin_fifo2_set_buf(u32 addr, u32 size, u32 src, u32 ch)
{
+ if (audio_in_source == 3)
+ src = SPDIF_IN;
aml_audin_write(AUDIN_FIFO2_START, addr & 0xffffffc0);
aml_audin_write(AUDIN_FIFO2_PTR, (addr & 0xffffffc0));
aml_audin_write(AUDIN_FIFO2_END,