usb: ohci: Fix ctrl in messages with a data-len of 0
authorHans de Goede <hdegoede@redhat.com>
Tue, 5 May 2015 21:56:12 +0000 (23:56 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 18:48:35 +0000 (12:48 -0600)
commitcae01cb2a9f9a1c4df315e53b063f846d3b364a3
tree5e3949830449a9aa50180cf57142576e8612865d
parent6651c140659a300fa2bebf0de1c58832c123b1f2
usb: ohci: Fix ctrl in messages with a data-len of 0

Fix taken from the Linux kernel ohci driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/host/ohci-hcd.c