carl9170 firmware: Initialize USB subsystem before the DMA engine
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 13 Aug 2010 20:02:00 +0000 (22:02 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 13 Aug 2010 20:02:00 +0000 (22:02 +0200)
commit0f370216f7d50a6c8ffebfb1ba49b196e869d0ec
treec74392d4542c31f2e937ca690c850f6ba4d31c59
parenta062c2ed9af0b5c9a9f64424ce929cbb6e46dbe2
carl9170 firmware: Initialize USB subsystem before the DMA engine

The documentation states that the USB DMA engine control register
(0x1e1108) should be modified when the state engine is idling.
By tuning the initialization order and placing a larger workload
in between, the state machine should now always be in the correct
state.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/main.c
carlfw/usb/usb.c