asoc:add support for in-call music
authoryaozm1 <yaozm1@lenovo.com>
Thu, 21 Feb 2019 09:15:57 +0000 (17:15 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:48 +0000 (17:30 +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 d7f420814a101a6a48a2aa1cab4db5fc93017043..bde066184814c838b4efef37814bb1dc6b427d0d 100644 (file)
@@ -4440,6 +4440,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;