libpayload: Fix detach_contoller in the USB driver
commit421303a25aef04bb3d5431a4e6f4f6215bc772fe
authorAnton Kochkov <anton.kochkov@gmail.com>
Tue, 19 Jun 2012 23:57:18 +0000 (20 03:57 +0400)
committerNico Huber <nico.huber@secunet.com>
Wed, 20 Jun 2012 15:45:10 +0000 (20 17:45 +0200)
tree871927330795b5931fe9fd5d54a0786cd3139ab3
parent39b47d2b03c714ee49b96ba65e5d67ece5c33b7a
libpayload: Fix detach_contoller in the USB driver

Fixed usb controllers linked list walking in
detach_controller() function

Change-Id: Ia97c7ec814f75d2b1bfe185f160fb4cd32aa6fdb
Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com>
Reviewed-on: http://review.coreboot.org/1105
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.huber@secunet.com>
payloads/libpayload/drivers/usb/usb.c