Chunfeng Yun
5ae5f76a45
usb: gadget: bdc: add identifier name for function declaraion
...
This is used to avoid the warning of function arguments, e.g.
WARNING:FUNCTION_ARGUMENTS: function definition argument 'u32'
should also have an identifier name
Cc: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Felipe Balbi <balbi@kernel.org >
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com >
Link: https://lore.kernel.org/r/1610505748-30616-6-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-01-13 11:24:02 +01:00
Chunfeng Yun
e634ae98b8
usb: gadget: bdc: remove bdc_ep_set_halt() declaration
...
No definition for bdc_ep_set_halt(), so remove it.
Cc: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Felipe Balbi <balbi@kernel.org >
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com >
Link: https://lore.kernel.org/r/1610505748-30616-2-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-01-13 11:24:02 +01:00
Chunfeng Yun
3aaefb76c5
usb: gadget: bdc: fix improper SPDX comment style for header file
...
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used).
Cc: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Felipe Balbi <balbi@kernel.org >
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com >
Link: https://lore.kernel.org/r/1610505748-30616-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-01-13 11:24:01 +01:00
Greg Kroah-Hartman
229e368239
USB: gadget: udc: Remove redundant license text
...
Now that the SPDX tag is in all USB files, that identifies the license
in a specific and legally-defined manner. So the extra GPL text wording
can be removed as it is no longer needed at all.
This is done on a quest to remove the 700+ different ways that files in
the kernel describe the GPL license text. And there's unneeded stuff
like the address (sometimes incorrect) for the FSF which is never
needed.
No copyright headers or other non-license-description text was removed.
Cc: Kevin Cernekee <cernekee@gmail.com >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Vladimir Zapolskiy <vz@mleia.com >
Cc: Sylvain Lemieux <slemieux.tyco@gmail.com >
Cc: Daniel Mack <daniel@zonque.org >
Cc: Haojian Zhuang <haojian.zhuang@gmail.com >
Cc: Michal Simek <michal.simek@xilinx.com >
Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com >
Cc: Raviteja Garimella <raviteja.garimella@broadcom.com >
Cc: Romain Perier <romain.perier@collabora.com >
Cc: Johan Hovold <johan@kernel.org >
Cc: Al Cooper <alcooperx@gmail.com >
Cc: Srinath Mannam <srinath.mannam@broadcom.com >
Cc: Roger Quadros <rogerq@ti.com >
Cc: Krzysztof Opasiak <k.opasiak@samsung.com >
Cc: Stefan Agner <stefan@agner.ch >
Cc: Alan Stern <stern@rowland.harvard.edu >
Cc: "Felix Hädicke" <felixhaedicke@web.de >
Cc: Peter Chen <peter.chen@nxp.com >
Cc: Allen Pais <allen.lkml@gmail.com >
Cc: Yuyang Du <yuyang.du@intel.com >
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com >
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com >
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr >
Acked-by: Li Yang <leoyang.li@nxp.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-11-07 15:45:02 +01:00
Greg Kroah-Hartman
5fd54ace47
USB: add SPDX identifiers to all remaining files in drivers/usb/
...
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.
Update the drivers/usb/ and include/linux/usb* files with the correct
SPDX license identifier based on the license text in the file itself.
The SPDX identifier is a legally binding shorthand, which can be used
instead of the full boiler plate text.
This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Kate Stewart <kstewart@linuxfoundation.org >
Cc: Philippe Ombredanne <pombredanne@nexb.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com >
Acked-by: Johan Hovold <johan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-11-04 11:48:02 +01:00
Ashwini Pahuja
efed421a94
usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC
...
This patch adds a UDC driver for Broadcom's USB3.0 Peripheral core named BDC.
BDC supports control traffic on ep0 and bulk/Int/Isoch traffic on all other
endpoints.
[ balbi@ti.com : fix build error on randconfig due to lack of
<linux/dmapool.h> ]
Signed-off-by: Ashwini Pahuja <ashwini.linux@gmail.com >
Signed-off-by: Felipe Balbi <balbi@ti.com >
2014-11-18 08:47:23 -06:00