From: Sylwester Nawrocki Date: Wed, 14 Jan 2015 18:42:35 +0000 (+0100) Subject: ASoC: samsung: i2s: Add spinlock in place of local_irq_* calls X-Git-Tag: fixes-v4.0-rc1~146^2~22^2~3^3~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36705366a2324fedd6cca7683fadf947ac0b154;p=pandora-kernel.git ASoC: samsung: i2s: Add spinlock in place of local_irq_* calls It seems this driver hasn't been updated for SMP, as local_irq_save/ local_irq_restore don't provide proper protection of read/modify/write of the device's registers on such systems. Introduce a spinlock serializing access to the register region, it will be helpful later when I2SMOD, I2SPSR registers are made also accessible through the clk API. Signed-off-by: Sylwester Nawrocki Signed-off-by: Mark Brown --- Reading git-diff-tree failed