]> git.karo-electronics.de Git - linux-beck.git/commit
usb: musb: gadget: fix otg active status flag
authorBin Liu <b-liu@ti.com>
Tue, 17 Sep 2013 20:33:35 +0000 (15:33 -0500)
committerFelipe Balbi <balbi@ti.com>
Wed, 25 Sep 2013 20:42:33 +0000 (15:42 -0500)
commit9b0a1de3c85d99d881c86a29b3d52da7b9c7bd61
treecc31a875ad169b3cd76e35cb50e4fa396bbeaf80
parenteaaa775b5f934f09b1f6ee91418ed97a8fdf0b7c
usb: musb: gadget: fix otg active status flag

In gadget mode, musb->is_active should be set only when connected to the
host. musb_g_reset() already takes care of it.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c