]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: printer: using gadget_is_otg to check otg support at runtime
authorPeter Chen <peter.chen@freescale.com>
Fri, 3 Jan 2014 08:45:13 +0000 (16:45 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 20 Feb 2014 15:17:22 +0000 (09:17 -0600)
commit287fb8b7566d2b81872dcffdff73c186a6b866e2
tree43051f673bd631298cdd5512beb029c792fc9533
parent61358b0a8b05d6ff00d8166ca9838d51009b0791
usb: gadget: printer: using gadget_is_otg to check otg support at runtime

We need to use gadget_is_otg to check if the gadget is really
otg support at runtime, other composite gadget drivers have already
followed this method.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/printer.c