commit | 8f8114d695d562c65407123a803b13597432acaf | [log] [tgz] |
---|---|---|
author | Paul Kocialkowski <contact@paulk.fr> | Sat Apr 04 15:12:28 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Tue Apr 14 05:47:48 2015 +0200 |
tree | 67035fccdae5082272c58e4a4a26d1e359344445 | |
parent | 8c261760567e330ee097f99c0fdb0fd5b3f2167b [diff] |
usb: Check usb_new_device for failure This checks that a new USB device is correctly initialized and frees it if not. In addition, this doesn't report that USB was started when no device was found. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>