diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-07-02 23:19:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-03 17:14:30 +0200 |
commit | 55af49ac1b8627dfbfa2689af118d994d7a0ba1b (patch) | |
tree | 3bc49f438f7e9f9148deb571283c1b21c2e9721d /sound/soc/amd/acp.h | |
parent | ASoC: AMD: Always subtract bytescount (diff) | |
download | linux-55af49ac1b8627dfbfa2689af118d994d7a0ba1b.tar.xz linux-55af49ac1b8627dfbfa2689af118d994d7a0ba1b.zip |
ASoC: AMD: Fix Capture DMA channel names
On capture, audio data is first copied from I2S to ACP memory, and then
to SYSRAM. For each step the channel number increases, so the names in
the driver were wrong.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp.h')
-rw-r--r-- | sound/soc/amd/acp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index 3190fdce6307..0a2240bff62e 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -74,16 +74,16 @@ #define ACP_TO_I2S_DMA_CH_NUM 13 /* Capture DMA channels */ -#define ACP_TO_SYSRAM_CH_NUM 14 -#define I2S_TO_ACP_DMA_CH_NUM 15 +#define I2S_TO_ACP_DMA_CH_NUM 14 +#define ACP_TO_SYSRAM_CH_NUM 15 /* Playback DMA Channels for I2S BT instance */ #define SYSRAM_TO_ACP_BT_INSTANCE_CH_NUM 8 #define ACP_TO_I2S_DMA_BT_INSTANCE_CH_NUM 9 /* Capture DMA Channels for I2S BT Instance */ -#define ACP_TO_SYSRAM_BT_INSTANCE_CH_NUM 10 -#define I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM 11 +#define I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM 10 +#define ACP_TO_SYSRAM_BT_INSTANCE_CH_NUM 11 #define NUM_DSCRS_PER_CHANNEL 2 |