]> git.karo-electronics.de Git - linux-beck.git/commit
usb: renesas_usbhs: gadget: fix the behavior of pullup
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Tue, 4 Nov 2014 01:05:43 +0000 (10:05 +0900)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Nov 2014 19:22:09 +0000 (13:22 -0600)
commit04a5def3df1cea758662615e075f64677690c75f
tree17807399c602c95dd51344bda14656dcc09401dc
parent11432050f070810ba139d0226344eef120c3a559
usb: renesas_usbhs: gadget: fix the behavior of pullup

This patch fixes an issue that this driver always enable the D+ pullup
after it detected the VBUS connection even though this usb controller
can control the D+ pullup timing by software. So, this driver should
enable the D+ pullup after a gadget driver called usb_gadget_connect().

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/mod_gadget.c