]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8679059e360543b7afecd228ada6566da9f304a4
tree43051f673bd631298cdd5512beb029c792fc9533
parent2d1f7af3d60dd09794e0738a915d272c6c27abc5
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