]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
A couple small fixes for the imx6_sdma driver...
authorian <ian@FreeBSD.org>
Wed, 25 Nov 2020 18:09:01 +0000 (18:09 +0000)
committerian <ian@FreeBSD.org>
Wed, 25 Nov 2020 18:09:01 +0000 (18:09 +0000)
commit8848cda937bc4d0132bb63a7adb1ca0bd13966a2
tree1f9dd0b534707640ef10ede3bf788b75ccdf961e
parent2d7fddbe3b1d034d14d7de5855ad5177e58deb1e
A couple small fixes for the imx6_sdma driver...

Attach after interrupt controllers, since the attach function tries to
set up an interrupt handler.

Check for the availability of the required firmware early in the attach
code (before allocating resources).  If the firmware is not available, set
a static var to remember that, so that if the device is re-probed on later
passes it won't repeatedly try to attach and then complain again about
missing firmware.
sys/arm/freescale/imx/imx6_sdma.c