]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Zero the GPIO regulator pins memory.
authorloos <loos@FreeBSD.org>
Thu, 6 Jun 2019 20:54:09 +0000 (20:54 +0000)
committerloos <loos@FreeBSD.org>
Thu, 6 Jun 2019 20:54:09 +0000 (20:54 +0000)
commitb6c73644343766d9c470a03a185812c5538f0aa5
tree5bd5bb30fa305b52437249513d8f8a5f4fe289ee
parentf80a8c45c404f1826b041bb835e3d469114b76e6
Zero the GPIO regulator pins memory.

This fixes a panic in Espressobin when gpioregulator fails to allocate the
GPIO pin (the GPIO controller is not there).

Sponsored by: Rubicon Communications, LLC (Netgate)
sys/dev/gpio/gpioregulator.c