asoc:add support for in-call music
authoryaozm1 <yaozm1@lenovo.com>
Thu, 21 Feb 2019 09:15:57 +0000 (17:15 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:21:10 +0000 (11:21 +0800)
This is a patch from samsung.
Part2 of the kernel change.

Change-Id: I00307845e62cc990a9869339c95dde36fef80b64
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1312481
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

include/sound/samsung/abox_ipc.h
sound/soc/samsung/abox/abox.c

index 37c84109d9fa5b24fd82f83d124533578ef5d95c..1717c8a32363130bc3b95af47da2ae64b252eecd 100644 (file)
@@ -328,6 +328,7 @@ enum IPC_ID {
        IPC_PCMCAPTURE,
        IPC_OFFLOAD,
        IPC_ERAP,
+       RDMA7_BUF_EMPTY = 0x7,
        WDMA0_BUF_FULL = 0x8,
        WDMA1_BUF_FULL = 0x9,
        IPC_ABOX_CONFIG = 0xA,
index eed4a638fb95e319cfb140167a2b5387b4fc640f..e0e9d51b13fd491bdb2b6cf3ed8e0e2a651d9148 100644 (file)
@@ -4435,6 +4435,10 @@ static irqreturn_t abox_dma_irq_handler(int irq, struct abox_data *data)
                id = 3;
                pdev_dma = data->pdev_rdma;
                break;
+       case RDMA7_BUF_EMPTY:
+               id = 7;
+               pdev_dma = data->pdev_rdma;
+               break;
        case WDMA0_BUF_FULL:
                id = 0;
                pdev_dma = data->pdev_wdma;