From: Axel Lin Date: Fri, 27 Feb 2015 03:50:57 +0000 (+0800) Subject: phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw operations X-Git-Tag: omap-for-v4.2/o2_dc~276^2~5^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af69decc7ca80fa24c77a5a00234f1cd2a957de8;p=pandora-kernel.git phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw operations The state->regmap is initialized by devm_regmap_init_mmio(). So it's fine to use spin_lock rather than mutex to protct state->regmap rmw operations. Signed-off-by: Axel Lin Acked-by: Sylwester Nawrocki Tested-by: Sylwester Nawrocki [Julia.Lawall@lip6.fr: Found an issue with the original patch w.r.t unbalanced spin_lock call] Signed-off-by: Julia Lawall Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed