Skip to content
Commit df3fd0fd authored by Douglas Anderson's avatar Douglas Anderson Committed by Paul Gortmaker
Browse files

soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner



commit 35bb4b22 upstream.

Adding an item into the cache should never be able to make the cache
cleaner.  Use "|=" rather than "=" to update the dirty flag.

Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Reviewed-by: Maulik Shah <mkshah@codeaurora.org> Thanks, Maulik
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Fixes: bb700067 ("soc: qcom: rpmh: Update dirty flag only when data changes")
Reported-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200417141531.1.Ia4b74158497213eabad7c3d474c50bfccb3f342e@changeid


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 470f4006
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