In some cases, drivers may need to acquire an existing gpio_pin_t. With
the functions gpiobus currently exposes, this isn't possible as they
allocate a new pin then acquire that. Add a new gpio_pin_acquire
function which accepts an existing gpiobus_pin structure.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 64984 Build 61867: arc lint + arc unit
Event Timeline
Comment Actions
Otherwise, it looks fine to me.
sys/dev/gpio/gpiobusvar.h | ||
---|---|---|
162 | Wrong place, see the comment a line above. And, please, add short comment all other functions here have it. |
sys/dev/gpio/gpiobusvar.h | ||
---|---|---|
162 | Ah, not sure how I missed that. Thanks. |