carl9170 firmware: compact pta_init
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 14 Aug 2010 16:59:01 +0000 (18:59 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 14 Aug 2010 16:59:01 +0000 (18:59 +0200)
commitbccdbdc944c967e76e04f3c667d0e3faca789e92
treeb626feb0ed3f162b2c6b59234922d59cc5f13cdc
parent55af0ecd51af9b85961eccc3b3e9cc9997b60192
carl9170 firmware: compact pta_init

A small gain can be obtained by caching the temporary
usb control flag modifications and commit the new
setting at the end.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/include/usb.h
carlfw/usb/main.c
carlfw/usb/usb.c
include/shared/hw.h