Page MenuHomeFreeBSD

as3722_gpio_pin_setflags: Use computed mode instead of hardcoded PUSHPULL.
ClosedPublic

Authored by jhb on Apr 9 2022, 1:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 9:54 AM
Unknown Object (File)
Sat, Apr 27, 9:54 AM
Unknown Object (File)
Sat, Apr 27, 8:36 AM
Unknown Object (File)
Sat, Apr 27, 7:10 AM
Unknown Object (File)
Mar 14 2024, 3:31 AM
Unknown Object (File)
Jan 14 2024, 8:39 AM
Unknown Object (File)
Dec 20 2023, 4:27 AM
Unknown Object (File)
Nov 15 2023, 9:09 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Apr 9 2022, 1:00 AM

My guess is that this is correct? Otherwise the 'mode' variable (and as3722_gpio_get_mode() function) are unused.

emaste added a subscriber: emaste.

Yeah, if this introduces a change in behaviour the old code was just hiding a bug.
Probably worth a longish MFC timeout and a request for someone to test.

This revision is now accepted and ready to land.Apr 18 2022, 7:20 PM