]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: zero: fix bug in loopback autoresume handling
authorTimo Juhani Lindfors <timo.lindfors@iki.fi>
Sun, 29 Jan 2012 14:12:13 +0000 (16:12 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jan 2012 09:10:20 +0000 (11:10 +0200)
commit683da59d7b8ae04891636d4b59893cd4e9b0b7e5
tree169b6cf56378e8194ecbf20bebbbbb7fa641fb7d
parentb30b3c60a25a4afbc49167ecb6210c291178ee5f
usb: gadget: zero: fix bug in loopback autoresume handling

ab943a2e125b (USB: gadget: gadget zero uses new suspend/resume hooks)
introduced a copy-paste error where f_loopback.c writes to a variable
declared in f_sourcesink.c. This prevents one from creating gadgets
that only have a loopback function.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_loopback.c