linux/drivers/hwspinlock
Baolin Wang b2547dce4d hwspinlock: Remove BUG_ON() from the hwspinlock core
The original code use BUG_ON() to validate the parameters when locking
or unlocking one hardware lock, but we should not crash the whole kernel
though the hwlock parameters are incorrect, instead we can return
the error number for users and give some warning.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-11-08 16:41:13 -08:00
..
hwspinlock_core.c hwspinlock: Remove BUG_ON() from the hwspinlock core 2019-11-08 16:41:13 -08:00
hwspinlock_internal.h hwspinlock/core: Switch to SPDX license identifier 2018-05-24 12:04:32 -07:00
Kconfig hwspinlock/omap: Add support for TI K3 SoCs 2019-06-29 11:40:04 -07:00
Makefile hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
omap_hwspinlock.c hwspinlock/omap: Add a trace during probe 2019-06-29 11:40:06 -07:00
qcom_hwspinlock.c hwspinlock: qcom: Switch to SPDX license identifier 2018-05-24 12:04:46 -07:00
sirf_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
sprd_hwspinlock.c hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controller 2019-10-04 21:10:26 -07:00
stm32_hwspinlock.c hwspinlock: stm32: implement the relax() ops 2019-06-29 21:04:24 -07:00
u8500_hsem.c hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register hwlock controller 2019-10-04 20:20:41 -07:00