]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Update protection IRQ helper docs
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Thu, 18 Nov 2021 11:49:51 +0000 (13:49 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 13:57:09 +0000 (13:57 +0000)
commit78e1333bc85405bf5bcdd8c05587c06ecf9d1b42
tree24ab6971edfebe909ec10ccd101409bf2d40e8fd
parent47547d0c3a0add25ec914d1bbe08e9b0afcac968
regulator: Update protection IRQ helper docs

The documentation of IRQ notification helper had still references to
first RFC implementation which called BUG() while trying to protect the
hardware. Behaviour was improved as calling the BUG() was not a proper
solution. Current implementation attempts to call poweroff if handling
of potentially damaging error notification fails. Update the
documentation to reflect the actual behaviour.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/0c9cc4bcf20c3da66fd5a85c97ee4288e5727538.1637233864.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/driver.h