diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-24 20:08:57 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-17 14:37:59 +0200 |
commit | 911c94dac9525f4824661592611f169713d74d5f (patch) | |
tree | 3183813c6adae1bfa79067e3e3886ecf45bb54dc /drivers | |
parent | memory: samsung: exynos5422-dmc: Additional locking for 'curr_rate' (diff) | |
download | linux-911c94dac9525f4824661592611f169713d74d5f.tar.xz linux-911c94dac9525f4824661592611f169713d74d5f.zip |
memory: samsung: exynos5422-dmc: Document mutex scope
Document scope of the mutex used by driver.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20200724180857.22119-1-krzk@kernel.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/memory/samsung/exynos5422-dmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index 952bc61e68f4..0045fa536b2b 100644 --- a/drivers/memory/samsung/exynos5422-dmc.c +++ b/drivers/memory/samsung/exynos5422-dmc.c @@ -119,6 +119,7 @@ struct exynos5_dmc { void __iomem *base_drexi0; void __iomem *base_drexi1; struct regmap *clk_regmap; + /* Protects curr_rate and frequency/voltage setting section */ struct mutex lock; unsigned long curr_rate; unsigned long curr_volt; |