mirror of https://github.com/thesofproject/sof.git
clean: fix style warning before big SOF rename
Remove checkpatch warnings before the rename to better track real ones Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
0f71a415ab
commit
a8bab6df81
|
@ -108,7 +108,7 @@ void _trace_event_atomic(uint32_t event);
|
|||
void _trace_event_mbox_atomic(uint32_t event);
|
||||
void trace_flush(void);
|
||||
void trace_off(void);
|
||||
void trace_init(struct reef * reef);
|
||||
void trace_init(struct reef *reef);
|
||||
|
||||
#if TRACE
|
||||
|
||||
|
|
|
@ -374,7 +374,7 @@ int ipc_init(struct reef *reef)
|
|||
/* init ipc data */
|
||||
reef->ipc = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM, sizeof(*reef->ipc));
|
||||
reef->ipc->comp_data = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM,
|
||||
SOF_IPC_MSG_MAX_SIZE);
|
||||
SOF_IPC_MSG_MAX_SIZE);
|
||||
reef->ipc->dmat = reef->dmat;
|
||||
|
||||
for (i = 0; i < PLATFORM_MAX_STREAMS; i++)
|
||||
|
|
|
@ -82,7 +82,7 @@ void irq_unregister_child(struct irq_parent *parent, int irq)
|
|||
spin_lock(&parent->lock);
|
||||
|
||||
/* does child already exist ? */
|
||||
if (parent->child[REEF_IRQ_BIT(irq)] == NULL)
|
||||
if (!parent->child[REEF_IRQ_BIT(irq)])
|
||||
goto finish;
|
||||
|
||||
/* free child */
|
||||
|
@ -107,7 +107,7 @@ uint32_t irq_enable_child(struct irq_parent *parent, int irq)
|
|||
|
||||
spin_lock(&parent->lock);
|
||||
|
||||
child =parent->child[REEF_IRQ_BIT(irq)];
|
||||
child = parent->child[REEF_IRQ_BIT(irq)];
|
||||
|
||||
/* already enabled ? */
|
||||
if (child->enabled)
|
||||
|
@ -134,7 +134,7 @@ uint32_t irq_disable_child(struct irq_parent *parent, int irq)
|
|||
|
||||
spin_lock(&parent->lock);
|
||||
|
||||
child =parent->child[REEF_IRQ_BIT(irq)];
|
||||
child = parent->child[REEF_IRQ_BIT(irq)];
|
||||
|
||||
/* already disabled ? */
|
||||
if (!child->enabled)
|
||||
|
|
Loading…
Reference in New Issue