ASoC: Intel: sst: use ; instead of , at the of a C statement
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 11 Jun 2015 13:14:34 +0000 (15:14 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2015 10:36:56 +0000 (11:36 +0100)
This was spotted by Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
while he tried to compile a -RT kernel with this driver enabled.
"make C=2" would also warn about this. This is is based on his patch.

Reported-by: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst.c

index 96c2e42..a4b458e 100644 (file)
@@ -368,8 +368,8 @@ static inline void sst_restore_shim64(struct intel_sst_drv *ctx,
         * initialize by FW or driver when firmware is loaded
         */
        spin_lock_irqsave(&ctx->ipc_spin_lock, irq_flags);
-       sst_shim_write64(shim, SST_IMRX, shim_regs->imrx),
-       sst_shim_write64(shim, SST_CSR, shim_regs->csr),
+       sst_shim_write64(shim, SST_IMRX, shim_regs->imrx);
+       sst_shim_write64(shim, SST_CSR, shim_regs->csr);
        spin_unlock_irqrestore(&ctx->ipc_spin_lock, irq_flags);
 }