]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: ab8500-usb: fix last notifier arguments
authorFabio Baltieri <fabio.baltieri@linaro.org>
Wed, 3 Apr 2013 08:45:10 +0000 (10:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 09:02:21 +0000 (12:02 +0300)
commiteedd87c265d75f965f57a47d4e5e4da42a1363a0
tree107d303abdae1513ab7f2f44a7e5ba24294e9dae
parent8a43213c764e46e59a11d3e81e148dd8ed051d74
usb: phy: ab8500-usb: fix last notifier arguments

Fix last ab->phy.notifier call to use vbus_draw as notifier argument, as
that's used in ab8500_charger to control charging current.

Also drop a related TODO comment, and the additional
ux500_musb_set_vbus(musb, 0), as with this patch it was causing an
erratic behaviour of gadget ep0 state machine.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500.c
drivers/usb/phy/phy-ab8500-usb.c