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)
commit6966df483d7b5b218aeb0e13e7e334a8fc3c1744
tree24ab6971edfebe909ec10ccd101409bf2d40e8fd
parent7492b724df4d33ca3d5b38b70fb4acb93e6d02bf
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