summaryrefslogtreecommitdiffstats
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorArnaud Pouliquen2019-05-22 10:25:35 +0200
committerJassi Brar2019-07-11 06:08:43 +0200
commitdba9a3dfe912dc47c9dbc9ba1f5f65adbf9aea0f (patch)
treedd43246a01c8a1e99cf2b4c569634574dd4999dc /lib/test-string_helpers.c
parentLinux 5.2-rc7 (diff)
downloadkernel-qcow2-linux-dba9a3dfe912dc47c9dbc9ba1f5f65adbf9aea0f.tar.gz
kernel-qcow2-linux-dba9a3dfe912dc47c9dbc9ba1f5f65adbf9aea0f.tar.xz
kernel-qcow2-linux-dba9a3dfe912dc47c9dbc9ba1f5f65adbf9aea0f.zip
mailbox: stm32_ipcc: add spinlock to fix channels concurrent access
Add spinlock protection on IPCC register update to avoid race condition. Without this fix, stm32_ipcc_set_bits and stm32_ipcc_clr_bits can be called in parallel for different channels. This results in register corruptions. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions