Page MenuHomeFreeBSD

gpioloed: no need for locking in this driver
Needs ReviewPublic

Authored by avg on Mon, Jul 19, 7:58 AM.

Details

Reviewers
gonzo
adrian
loos
Summary

GPIO controller drivers should already have internal locking to correctly
work with hardware and internal states.
Additionally, led(9) also has locking around calls to led_state().
Finally, gpioled does not have any internal state of its own that needs
concurrency protection.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 40521
Build 37410: arc lint + arc unit