Skip to content

Commit 504c2cc

Browse files
authored
Merge pull request #385 from zhigang-wu/topic/master-typo-err
sof: fix the spelling error
2 parents 40f9749 + 90d3956 commit 504c2cc

9 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/ipc/apl-ipc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ int platform_ipc_init(struct ipc *ipc)
215215
iipc->pm_prepare_D3 = 0;
216216

217217
/* configure interrupt */
218-
interrupt_register(PLATFORM_IPC_INTERUPT, irq_handler, NULL);
219-
interrupt_enable(PLATFORM_IPC_INTERUPT);
218+
interrupt_register(PLATFORM_IPC_INTERRUPT, irq_handler, NULL);
219+
interrupt_enable(PLATFORM_IPC_INTERRUPT);
220220

221221
/* enable IPC interrupts from host */
222222
ipc_write(IPC_DIPCCTL, IPC_DIPCCTL_IPCIDIE | IPC_DIPCCTL_IPCTBIE);

src/ipc/byt-ipc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ static void irq_handler(void *arg)
9999

100100
/* Mask Done interrupt before return */
101101
shim_write(SHIM_IMRD, shim_read(SHIM_IMRD) | SHIM_IMRD_DONE);
102-
interrupt_clear(PLATFORM_IPC_INTERUPT);
102+
interrupt_clear(PLATFORM_IPC_INTERRUPT);
103103
do_notify();
104104
}
105105

106106
if (isr & SHIM_ISRD_BUSY) {
107107

108108
/* Mask Busy interrupt before return */
109109
shim_write(SHIM_IMRD, shim_read(SHIM_IMRD) | SHIM_IMRD_BUSY);
110-
interrupt_clear(PLATFORM_IPC_INTERUPT);
110+
interrupt_clear(PLATFORM_IPC_INTERRUPT);
111111

112112
/* TODO: place message in Q and process later */
113113
/* It's not Q ATM, may overwrite */
@@ -237,8 +237,8 @@ int platform_ipc_init(struct ipc *ipc)
237237
iipc->pm_prepare_D3 = 0;
238238

239239
/* configure interrupt */
240-
interrupt_register(PLATFORM_IPC_INTERUPT, irq_handler, NULL);
241-
interrupt_enable(PLATFORM_IPC_INTERUPT);
240+
interrupt_register(PLATFORM_IPC_INTERRUPT, irq_handler, NULL);
241+
interrupt_enable(PLATFORM_IPC_INTERRUPT);
242242

243243
/* Unmask Busy and Done interrupts */
244244
imrd = shim_read(SHIM_IMRD);

src/ipc/cnl-ipc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ int platform_ipc_init(struct ipc *ipc)
216216
iipc->pm_prepare_D3 = 0;
217217

218218
/* configure interrupt */
219-
interrupt_register(PLATFORM_IPC_INTERUPT, irq_handler, NULL);
220-
interrupt_enable(PLATFORM_IPC_INTERUPT);
219+
interrupt_register(PLATFORM_IPC_INTERRUPT, irq_handler, NULL);
220+
interrupt_enable(PLATFORM_IPC_INTERRUPT);
221221

222222
/* enable IPC interrupts from host */
223223
ipc_write(IPC_DIPCCTL, IPC_DIPCCTL_IPCIDIE | IPC_DIPCCTL_IPCTBIE);

src/ipc/hsw-ipc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ static void irq_handler(void *arg)
9999

100100
/* Mask Done interrupt before return */
101101
shim_write(SHIM_IMRD, shim_read(SHIM_IMRD) | SHIM_IMRD_DONE);
102-
interrupt_clear(PLATFORM_IPC_INTERUPT);
102+
interrupt_clear(PLATFORM_IPC_INTERRUPT);
103103
do_notify();
104104
}
105105

106106
if (isr & SHIM_ISRD_BUSY) {
107107

108108
/* Mask Busy interrupt before return */
109109
shim_write(SHIM_IMRD, shim_read(SHIM_IMRD) | SHIM_IMRD_BUSY);
110-
interrupt_clear(PLATFORM_IPC_INTERUPT);
110+
interrupt_clear(PLATFORM_IPC_INTERRUPT);
111111

112112
/* TODO: place message in Q and process later */
113113
/* It's not Q ATM, may overwrite */
@@ -232,8 +232,8 @@ int platform_ipc_init(struct ipc *ipc)
232232
iipc->pm_prepare_D3 = 0;
233233

234234
/* configure interrupt */
235-
interrupt_register(PLATFORM_IPC_INTERUPT, irq_handler, NULL);
236-
interrupt_enable(PLATFORM_IPC_INTERUPT);
235+
interrupt_register(PLATFORM_IPC_INTERRUPT, irq_handler, NULL);
236+
interrupt_enable(PLATFORM_IPC_INTERRUPT);
237237

238238
/* Unmask Busy and Done interrupts */
239239
imrd = shim_read(SHIM_IMRD);

src/platform/apollolake/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct sof;
5252
#define PLATFORM_IDC_INTERRUPT(x) IRQ_EXT_IDC_LVL2(x)
5353

5454
/* IPC Interrupt */
55-
#define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
55+
#define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
5656

5757
/* pipeline IRQ */
5858
#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4

src/platform/baytrail/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
struct sof;
4242

4343
/* IPC Interrupt */
44-
#define PLATFORM_IPC_INTERUPT IRQ_NUM_EXT_IA
44+
#define PLATFORM_IPC_INTERRUPT IRQ_NUM_EXT_IA
4545

4646
/* Host page size */
4747
#define HOST_PAGE_SIZE 4096

src/platform/cannonlake/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct sof;
5858
#define PLATFORM_IDC_INTERRUPT(x) IRQ_EXT_IDC_LVL2(x)
5959

6060
/* IPC Interrupt */
61-
#define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
61+
#define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
6262

6363
/* pipeline IRQ */
6464
#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4

src/platform/haswell/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
struct sof;
4141

4242
/* IPC Interrupt */
43-
#define PLATFORM_IPC_INTERUPT IRQ_NUM_EXT_IA
43+
#define PLATFORM_IPC_INTERRUPT IRQ_NUM_EXT_IA
4444

4545
/* Host page size */
4646
#define HOST_PAGE_SIZE 4096

src/platform/icelake/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct sof;
5858
#define PLATFORM_IDC_INTERRUPT(x) IRQ_EXT_IDC_LVL2(x)
5959

6060
/* IPC Interrupt */
61-
#define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
61+
#define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
6262

6363
/* pipeline IRQ */
6464
#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4

0 commit comments

Comments
 (0)