diff options
author | Axel Lin <[email protected]> | 2015-02-27 11:50:57 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2015-03-11 15:51:06 +0530 |
commit | af69decc7ca80fa24c77a5a00234f1cd2a957de8 (patch) | |
tree | 8f03178f14090d519d6e01b5026159d8a10f2955 /include/linux/console_struct.h | |
parent | cfd565d1e102941ec61b2a33c3c474961300a6fb (diff) |
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 <[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]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions