usb: check return value of submit_{control, bulk}_msg
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Sun, 15 Jul 2012 04:43:51 +0000 (04:43 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 18 Jul 2012 12:43:42 +0000 (14:43 +0200)
commitfd06028df8a3b48575c9578aa73ab507d451bbc1
tree609e199d5da2a8e582489fa7077d0d9eaa746393
parent80ab414afdc9543686d8258dd7b933a410df3c4e
usb: check return value of submit_{control, bulk}_msg

Return values of submit_{control,bulk}_msg() functions
should be checked to detect possible error.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
common/usb.c