]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: host: compare status for negative error values
authorMárton Németh <nm127@freemail.hu>
Mon, 30 May 2011 18:45:42 +0000 (20:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 9 Jun 2011 09:01:03 +0000 (12:01 +0300)
commit8c1d572a9f214dad699a3b1c5dec97273a4dd25b
treec0f5270a8ec4763f523f541f7721211982ac7356
parentfb25b123e744130f4267bef8758186d5842a546a
usb: musb: host: compare status for negative error values

Variable d is a struct usb_iso_packet_descriptor. The status filed is usually
negative when an error happens.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c