]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a workaround for a bug when setting the Raspberry GIO config and state
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 28 Jul 2020 11:32:45 +0000 (11:32 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Tue, 28 Jul 2020 11:32:45 +0000 (11:32 +0000)
commitce69217c7b8f81e5bcdf1337ceb729100acf8747
tree48db6ed82f5061794a81b9efc5e7d3cf03fb5ea1
parenta4dea1415906e5d4d685eaf743994cd053293a71
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