summaryrefslogtreecommitdiff
path: root/include/linux/of_gpio.h
diff options
context:
space:
mode:
authorFabien Dessenne <fabien.dessenne@st.com>2019-03-07 16:58:23 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-06-29 21:08:14 -0700
commit360aa640a59f269b784848c0b2d6d462952750d9 (patch)
treecf5d41daeadb6f14a8c41637b7ae29ee05e6747a /include/linux/of_gpio.h
parentbce6f5221374ba451a337d0a3773e6eb99dad3e8 (diff)
hwspinlock: add the 'in_atomic' API
Add the 'in_atomic' mode which can be called from an atomic context. This mode relies on the existing 'raw' mode (no lock, no preemption/irq disabling) with the difference that the timeout is not based on jiffies (jiffies won't increase when irq are disabled) but handled with busy-waiting udelay() calls. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/of_gpio.h')
0 files changed, 0 insertions, 0 deletions