Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw ope…
…rations 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 <[email protected]> Acked-by: Sylwester Nawrocki <[email protected]> Tested-by: Sylwester Nawrocki <[email protected]> [[email protected]: Found an issue with the original patch w.r.t unbalanced spin_lock call] Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
- Loading branch information