]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a workaround for a bug when setting the Raspberry GIO config and state
authorandrew <andrew@FreeBSD.org>
Tue, 28 Jul 2020 11:32:45 +0000 (11:32 +0000)
committerandrew <andrew@FreeBSD.org>
Tue, 28 Jul 2020 11:32:45 +0000 (11:32 +0000)
commit7820fbb5554165c87823b054108a13fdc627ac5f
tree48db6ed82f5061794a81b9efc5e7d3cf03fb5ea1
parent0f45fc04712b227b2403244a26054b3839df97c3
Add a workaround for a bug when setting the Raspberry GIO config and state

The Raspberry Pi GPIO config and state messages incorrectly return with
the tag length set to 0. We then check this value to have the response
flag set. Work around this by setting the response flag when setting the
GPIO config or state and this value is zero.

Sponsored by: Innovate UK
sys/arm/broadcom/bcm2835/bcm2835_mbox.c