Commit 911c94da authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

memory: samsung: exynos5422-dmc: Document mutex scope

Document scope of the mutex used by driver.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20200724180857.22119-1-krzk@kernel.org
parent 7f7d9e1e
...@@ -119,6 +119,7 @@ struct exynos5_dmc { ...@@ -119,6 +119,7 @@ struct exynos5_dmc {
void __iomem *base_drexi0; void __iomem *base_drexi0;
void __iomem *base_drexi1; void __iomem *base_drexi1;
struct regmap *clk_regmap; struct regmap *clk_regmap;
/* Protects curr_rate and frequency/voltage setting section */
struct mutex lock; struct mutex lock;
unsigned long curr_rate; unsigned long curr_rate;
unsigned long curr_volt; unsigned long curr_volt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment