Re: [Umap2][7/11][160a:3184] NULL pointer dereference

2016-09-23 Thread Malcolm Priestley
On 22/09/16 20:50, Malcolm Priestley wrote: On 22/09/16 15:25, Oliver Neukum wrote: On Thu, 2016-09-22 at 14:46 +0300, Binyamin Sharet wrote: -- Binyamin I compiled the kernel without BPF and still got an issue (attached) How can I verify the BPF is not enabled/part of the kernel? -- Bi

[PATCH v6 1/1] USB: serial: cp210x: Adding GPIO support for CP2105

2016-09-23 Thread Martyn Welch
This patch adds support for the GPIO found on the CP2105. Unlike the GPIO provided by some of the other devices supported by the cp210x driver, the GPIO on the CP2015 is muxed on pins otherwise used for serial control lines. The GPIO have been configured in 2 separate banks as the choice to configu

[PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-23 Thread chris.roth
From: Chris Roth From: Allan Chou Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (Vendor=04b4 ProdID=3610). Patch verified on x64 linux kernel 4.7.4 system with the Kensington SD4600P USB-C Universal Dock with Power, which uses the Cypress GX3 SuperSpeed to Gigabi

Re: [PATCH v5 2/2] usb: chipidea: imx: Add binding to disable USB 60Mhz clock

2016-09-23 Thread Rob Herring
On Wed, Sep 21, 2016 at 11:07:07AM +0200, Fabien Lahoudere wrote: > This binding allow to disable the internal 60Mhz clock for USB host2 or > host3. > > Signed-off-by: Fabien Lahoudere > --- > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 1 + > drivers/usb/chipidea/ci_hdrc_imx.c

Re: [PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-23 Thread Greg KH
On Fri, Sep 23, 2016 at 12:24:50PM -0600, chris.r...@usask.ca wrote: > From: Chris Roth > > Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet > Bridge Controller (Vendor=04b4 ProdID=3610). > > Patch verified on x64 linux kernel 4.7.4 system with the > Kensington SD4600P USB-C Universal

[PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-23 Thread chris.roth
From: Chris Roth Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (Vendor=04b4 ProdID=3610). Patch verified on x64 linux kernel 4.7.4 system with the Kensington SD4600P USB-C Universal Dock with Power, which uses the Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge C

[PATCH] USB: serial: cp210x: Add ID for a Juniper console

2016-09-23 Thread Kyle Jones
Signed-off-by: Kyle Jones --- Bus 004 Device 002: ID 10c4:8470 Cygnal Integrated Products, Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSiz

Re: [PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 5:08:37 PM CEST Greg KH wrote: > On Fri, Sep 23, 2016 at 09:46:13PM +0800, Baoyou Xie wrote: > > We get 1 warning when building kernel with W=1: > > drivers/usb/host/xhci-ring.c:608:6: warning: no previous prototype for > > 'xhci_unmap_td_bounce_buffer' [-Wmissing-pro

Re: [PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static

2016-09-23 Thread Greg KH
On Fri, Sep 23, 2016 at 09:46:13PM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/usb/host/xhci-ring.c:608:6: warning: no previous prototype for > 'xhci_unmap_td_bounce_buffer' [-Wmissing-prototypes] > > In fact, this function is only used in the file in whic

Re: [PATCH] usb: gadget: udc: atmel: fix endpoint name

2016-09-23 Thread Greg Kroah-Hartman
On Fri, Sep 23, 2016 at 04:20:45PM +0200, Nicolas Ferre wrote: > Le 16/09/2016 à 10:36, Nicolas Ferre a écrit : > > Le 15/09/2016 à 17:07, Alexandre Belloni a écrit : > >> Since commit c32b5bcfa3c4 ("ARM: dts: at91: Fix USB endpoint nodes"), > >> atmel_usba_udc fails with: > >> > >> [ c

From Mrs. Perahta Orlantha

2016-09-23 Thread Mrs. Perahta Orlantha
Please, kindly view my attachment file Dear beloved Perahta Orlantha.doc Description: MS-Word document

Re: [RFC/PATCH] usb: misc: Add a driver for TC7USB40MU

2016-09-23 Thread Rob Herring
On Wed, Sep 14, 2016 at 01:55:02AM -0700, Stephen Boyd wrote: > Quoting Stephen Boyd (2016-09-13 18:42:46) > > On the db410c 96boards platform we have a TC7USB40MU[1] on the > > board to mux the D+/D- lines from the SoC between a micro usb > > "device" port and a USB hub for "host" roles. Upon a ro

Re: [PATCH] usb: gadget: udc: atmel: fix endpoint name

2016-09-23 Thread Nicolas Ferre
Le 16/09/2016 à 10:36, Nicolas Ferre a écrit : > Le 15/09/2016 à 17:07, Alexandre Belloni a écrit : >> Since commit c32b5bcfa3c4 ("ARM: dts: at91: Fix USB endpoint nodes"), >> atmel_usba_udc fails with: >> >> [ cut here ] >> WARNING: CPU: 0 PID: 0 at include/linux/usb/gadget

Re: [PATCH v2 2/3] musb: sunxi: Remove custom babble handling

2016-09-23 Thread Bin Liu
On Fri, Sep 23, 2016 at 04:42:26PM +0300, Hans de Goede wrote: > Hi, > > On 09/22/2016 05:30 PM, Bin Liu wrote: > >Hi, > > > >On Thu, Sep 22, 2016 at 05:03:39PM +0300, Hans de Goede wrote: > >>Hi, > >> > >>On 09/22/2016 04:54 PM, Bin Liu wrote: > >>>Hi, > >>> > >>>On Thu, Sep 22, 2016 at 02:19:00P

[PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/usb/host/xhci-ring.c:608:6: warning: no previous prototype for 'xhci_unmap_td_bounce_buffer' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static.

[PATCH] usb: core: hcd: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/usb/core/hcd.c:2390:5: warning: no previous prototype for 'usb_bus_start_enum' [-Wmissing-prototypes] In fact, these functions are declared in linux/usb/otg.h, so this patch adds the missing header dependencies. Signed-off-by: Baoyou Xie -

Re: [PATCH v2 2/3] musb: sunxi: Remove custom babble handling

2016-09-23 Thread Hans de Goede
Hi, On 09/22/2016 05:30 PM, Bin Liu wrote: Hi, On Thu, Sep 22, 2016 at 05:03:39PM +0300, Hans de Goede wrote: Hi, On 09/22/2016 04:54 PM, Bin Liu wrote: Hi, On Thu, Sep 22, 2016 at 02:19:00PM +0300, Hans de Goede wrote: The musb-core now a days always treats babble errors in host mode I

[PATCH v3 1/3] phy_sun4i_usb: set_mode: Allow using set_mode to force end the current session

2016-09-23 Thread Hans de Goede
The sunxi musb has a bug where sometimes it will generate a babble error on device disconnect instead of a disconnect irq. When this happens the musb-controller switches from host mode to device mode (it clears MUSB_DEVCTL_SESSION and sets MUSB_DEVCTL_BDEVICE) and gets stuck in this state. Clearin

[PATCH v3 3/3] musb: sunxi: Force session end on babble errors in host-mode

2016-09-23 Thread Hans de Goede
The sunxi musb has a bug where sometimes it will generate a babble error on device disconnect instead of a disconnect irq. When this happens the musb-controller switches from host mode to device mode (it clears MUSB_DEVCTL_SESSION and sets MUSB_DEVCTL_BDEVICE) and gets stuck in this state. Clearin

[PATCH v3 2/3] musb: sunxi: Remove custom babble handling

2016-09-23 Thread Hans de Goede
The musb core already handles babble interrupts, so the sunxi glue having its own custom handling is redundant. Signed-off-by: Hans de Goede --- Changes in v2: -This is a new patch in v2 of this patch series Changes in v3: -Improve commit msg --- drivers/usb/musb/sunxi.c | 10 -- 1 file

[PATCH V2]usb: dwc2: Clear GUSBCFG.UsbTrdTim before setting

2016-09-23 Thread Pengcheng Li
The USBTRDTIM field needs to be cleared before setting a new value. Otherwise it will result in an incorrect value if phyif == GUSBCFG_PHYIF8. Change-Id: Ib3e33cf4fd15ada41dc070ff7b93858daafbd10f Signed-off-by: Pengcheng Li Acked-by: John Youn --- drivers/usb/dwc2/gadget.c | 4 ++-- 1 file chan

Re: [PATCH] usb-serial: translate ezusb_convert

2016-09-23 Thread Ladislav Michl
On Fri, Sep 23, 2016 at 09:59:57AM +0200, Greg KH wrote: > On Thu, Sep 22, 2016 at 05:54:25PM -0600, Jorge Natz wrote: > > > > ezusb_convert is a script used to convert an Intel HEX firmware file > > into a set of C arrays for use in header files. Increase the > > portability of this script by tra

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-23 Thread Wim Osterholt
On Thu, Sep 22, 2016 at 04:40:50PM +0200, Oliver Neukum wrote: > > dmesg -c > echo 9 > /proc/sysrq-trigger > modprobe cdc_acm > echo "module cdc_acm +mpf" > /sys/kernel/debug/dynamic_debug/control > > [plug your device in] > > and provide the full output of dmesg after that. That is not possibl

Re: [PATCH 0/4] ch341 cleanup and parity etc support

2016-09-23 Thread Grigori Goronzy
On 2016-09-15 17:54, Aidan Thornton wrote: This is an attempt to clean-up and resubmit some patches by Grigori Goronzy a few months back adding support for parity, frame length, and 2 stop bits to the CH340/1 driver and cleaning up some magic constants. His original patch series also went on to a

Re: g_webcam Isoch high bandwidth transfer

2016-09-23 Thread Felipe Balbi
Hi, yfw writes: >> Here's one that actually compiles, sorry about that. > > No worries, I was sleeping ;-) > > I will test it out early next week. Thanks. meanwhile, how about some instructions on how to test this out myself? How are you using g_webcam and what

Re: g_webcam Isoch high bandwidth transfer

2016-09-23 Thread yfw
Hi Felipe, On 2016/9/23 15:49, Felipe Balbi wrote: Hi, Bin Liu writes: +Fengwei Yin per his request. On Thu, Sep 22, 2016 at 10:48:40PM +0300, Felipe Balbi wrote: Hi, Bin Liu writes: [...] Here's one that actually compiles, sorry about that. No worries, I was sleeping ;-) I will t

Re: Strange behavior of CHN bit with dwc3

2016-09-23 Thread Felipe Balbi
Hi, yfw writes: > Hi Felipe, > > On 2016/9/23 14:17, Felipe Balbi wrote: >> >> Hi, >> >> yfw writes: are you using mainline? If you are, capture dwc3 tracepoints. If you're not, which kernel are you using? >>> I am not using the latest kernel. Instead the code base is 3.18 + some usb

Re: Strange behavior of CHN bit with dwc3

2016-09-23 Thread yfw
Hi Felipe, On 2016/9/23 14:17, Felipe Balbi wrote: Hi, yfw writes: are you using mainline? If you are, capture dwc3 tracepoints. If you're not, which kernel are you using? I am not using the latest kernel. Instead the code base is 3.18 + some usb patches backported because mainline doesn't

Re: [PATCH] usb-serial: translate ezusb_convert

2016-09-23 Thread Greg KH
On Thu, Sep 22, 2016 at 05:54:25PM -0600, Jorge Natz wrote: > > ezusb_convert is a script used to convert an Intel HEX firmware file > into a set of C arrays for use in header files. Increase the > portability of this script by translating it from Perl to a > POSIX shell script. Perl is not was wi

Re: g_webcam Isoch high bandwidth transfer

2016-09-23 Thread Felipe Balbi
Hi, Bin Liu writes: > +Fengwei Yin per his request. > > On Thu, Sep 22, 2016 at 10:48:40PM +0300, Felipe Balbi wrote: >> >> Hi, >> >> Bin Liu writes: >> >> [...] >> >> >> Here's one that actually compiles, sorry about that. >> > >> > No worries, I was sleeping ;-) >> > >> > I will test it o