Re: dwc2 device testing with Service Interval plus LPM

2018-05-15 Thread Felipe Balbi
Hi, Grigor Tovmasyan writes: > On 5/11/2018 2:42 PM, Felipe Balbi wrote: >> >> Hi, >> >> Grigor Tovmasyan writes: >> >>> Hi all, >>> >>> I want to test a new feature of HSOTG core: Service Interval + LPM support >>> in device

Re: [RFC PATCH 1/7] usb: typec: Generalize mux mode names

2018-05-15 Thread Heikki Krogerus
Hi Mats, On Fri, May 11, 2018 at 09:28:04PM +0200, Mats Karrman wrote: > On 2018-05-11 13:14, Heikki Krogerus wrote: > > > On Fri, May 11, 2018 at 11:05:55AM +0200, Mats Karrman wrote: > > > On 2018-05-10 19:49, Heikki Krogerus wrote: > > > > > > > On Thu, May 10, 2018 at 10:04:21AM +0200, Mats

RE: [PATCH v2 6/6] usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting

2018-05-15 Thread Yoshihiro Shimoda
Hi Simon-san, Thank you for your review! > From: Simon Horman, Sent: Tuesday, May 15, 2018 4:35 PM > > On Tue, Apr 10, 2018 at 02:38:54PM +0900, Yoshihiro Shimoda wrote: > > This patch fixes an issue that reconnection is possible to fail > > because unexpected state handling happens by the

RE: [PATCH/RFC v3 3/4] usb: gadget: udc: renesas_usb3: use usb role switch API

2018-05-15 Thread Yoshihiro Shimoda
Hi Simon-san, Thank you for your review! > From: Simon Horman, Sent: Tuesday, May 15, 2018 4:54 PM > On Mon, May 14, 2018 at 06:15:59PM +0900, Yoshihiro Shimoda wrote: > > static void usb3_set_mode(struct renesas_usb3 *usb3, bool host) > > { > > - _usb3_set_mode(usb3, host); > > + if

Re: [PATCH v2 1/1] drivers: usb: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget

2018-05-15 Thread Felipe Balbi
Tiago Brusamarello writes: > Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting > phy in SOCs with utmi dual phy > > Signed-off-by: Nikhil Badola > Tested-by: Tiago Brusamarello this doesn't apply. -- balbi -- To

Re: [PATCH 1/4] usb: dwc2: Move dwc2_readl/writel functions after hsotg structure

2018-05-15 Thread Felipe Balbi
Gevorg Sahakya writes: > From: Gevorg Sahakyan > > Moved dwc2_readl/writel functions after hsotg declaration for > adding hsotg structure to dwc2_readl/writel function prototypes. > > Signed-off-by: Gevorg Sahakyan >

Re: [PATCH] usb: gadget: composite: fill bcdUSB as 0x0320 for SuperSpeed or higher speeds

2018-05-15 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > On Wed, 2018-05-09 at 14:33 +0300, Felipe Balbi wrote: >> Hi, >> >> Chunfeng Yun writes: >> > The USB3CV version 2.1.80 (March 26, 2018) requires all devices >> > ( gen1, gen2, single lane, dual lane) to return

usb: storage: what is the correct sequence for? sd_probe| storage_probe/1/2 and uas_probe | scsi_scan_host

2018-05-15 Thread Tushar Nimkar
Everyone, Please help me in understanding sd_probe| storage_probe/1/2 and uas_probe | scsi_scan_host :) Basically want to know the correct sequence for them? How sd_probe_async() is called (ASYNC_DOMAIN(scsi_sd_probe_domain))? Is there any document which say it in detail ? -- Best Regards,

Re: [PATCH 1/2] USB: dwc3: get extcon device by OF graph bindings

2018-05-15 Thread Felipe Balbi
Andrzej Hajda writes: > extcon device is used to detect host/device connection. Since extcon > OF property is deprecated, alternative method should be added. > This method uses OF graph bindings to locate extcon. > > Signed-off-by: Andrzej Hajda > --- >

Re: Fwd: Enabling USB (auto)suspend for xHCI controllers incurs random device failures since kernel 4.15

2018-05-15 Thread Mathias Nyman
Hi I didn't get any feedback about the suggested patch. If you talk about this one https://marc.info/?l=linux-usb=15252835690 2325=2 then unfortunately I missed it. Mathias, please confirm, is this patch I need to check on Dell 5855? Ah, no, it's a different one:

Re: [PATCH v2 5/6] usb: gadget: udc: renesas_usb3: should fail if devm_phy_get() returns error

2018-05-15 Thread Simon Horman
On Tue, Apr 10, 2018 at 02:38:53PM +0900, Yoshihiro Shimoda wrote: > This patch fixes an issue that this driver ignores errors other than > the non-existence of the device, f.e. a memory allocation failure > in devm_phy_get(). So, this patch replaces devm_phy_get() with > devm_phy_optional_get().

Re: [PATCH 1/2] USB: dwc3: get extcon device by OF graph bindings

2018-05-15 Thread Krzysztof Kozlowski
On Tue, May 15, 2018 at 9:26 AM, Felipe Balbi wrote: > Andrzej Hajda writes: > >> extcon device is used to detect host/device connection. Since extcon >> OF property is deprecated, alternative method should be added. >> This method uses OF graph bindings to

Re: [PATCH v2 6/6] usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting

2018-05-15 Thread Simon Horman
On Tue, Apr 10, 2018 at 02:38:54PM +0900, Yoshihiro Shimoda wrote: > This patch fixes an issue that reconnection is possible to fail > because unexpected state handling happens by the irqs. To fix the issue, > the driver disables the controller's irqs when disconnected. > > Fixes: 746bfe63bba3

Re: [PATCH 1/4] usb: dwc2: Move dwc2_readl/writel functions after hsotg structure

2018-05-15 Thread Minas Harutyunyan
Hi Filipe, On 5/15/2018 11:19 AM, Felipe Balbi wrote: > Gevorg Sahakya writes: > >> From: Gevorg Sahakyan >> >> Moved dwc2_readl/writel functions after hsotg declaration for >> adding hsotg structure to dwc2_readl/writel function prototypes.

Re: [PATCH v2 6/6] usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting

2018-05-15 Thread Simon Horman
On Tue, May 15, 2018 at 07:49:44AM +, Yoshihiro Shimoda wrote: > Hi Simon-san, > > Thank you for your review! > > > From: Simon Horman, Sent: Tuesday, May 15, 2018 4:35 PM > > > > On Tue, Apr 10, 2018 at 02:38:54PM +0900, Yoshihiro Shimoda wrote: > > > This patch fixes an issue that

Re: [PATCH/RFC v3 3/4] usb: gadget: udc: renesas_usb3: use usb role switch API

2018-05-15 Thread Simon Horman
On Mon, May 14, 2018 at 06:15:59PM +0900, Yoshihiro Shimoda wrote: > This patch uses usb role switch API if the register suceeeded. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/usb/gadget/udc/renesas_usb3.c | 8 ++-- > 1 file changed, 6

Re: [PATCH/RFC v3 3/4] usb: gadget: udc: renesas_usb3: use usb role switch API

2018-05-15 Thread Simon Horman
On Tue, May 15, 2018 at 08:02:00AM +, Yoshihiro Shimoda wrote: > Hi Simon-san, > > Thank you for your review! > > > From: Simon Horman, Sent: Tuesday, May 15, 2018 4:54 PM > > On Mon, May 14, 2018 at 06:15:59PM +0900, Yoshihiro Shimoda wrote: > > > > static void usb3_set_mode(struct

`ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9370

2018-05-15 Thread Paul Menzel
Dear Linux folks, Linux 4.17-rc5 shows the error below on the Dell XPS 13 9370 with Debian Sid/unstable. ``` […] [0.440240] usb: port power management may be unreliable [0.441358] usbcore: registered new interface driver usb-storage [0.441367] usbcore: registered new interface

[PATCH v2 0/2] USB: dwc3: get extcon device by OF graph bindings

2018-05-15 Thread Andrzej Hajda
Hi, This small patchset tries to address issue with broken DT extcon property in case of USB controller - DWC3. It exposes similar problem as in proposed USB connector bindings[1] - extcon device is required by devices not always connected directly to extcon device. Here we have: DWC3 -> USB-PHY

[PATCH v2 1/2] USB: dwc3: get extcon device by OF graph bindings

2018-05-15 Thread Andrzej Hajda
extcon device is used to detect host/device connection. Since extcon OF property is deprecated, alternative method should be added. This method uses OF graph bindings to locate extcon. Signed-off-by: Andrzej Hajda --- drivers/usb/dwc3/drd.c | 34

RE: [PATCH/RFC v3 1/4] base: devcon: add a new API to find the graph

2018-05-15 Thread Yoshihiro Shimoda
Hi Heikki, Thank you for the reply! > From: Heikki Krogerus, Sent: Tuesday, May 15, 2018 5:29 PM > > On Tue, May 15, 2018 at 02:19:14AM +, Yoshihiro Shimoda wrote: > > Hi Heikki, > > > > > From: Heikki Krogerus, Sent: Monday, May 14, 2018 10:28 PM > > > > > > On Mon, May 14, 2018 at

[PATCH] usb: xhci: force all memory allocations to node

2018-05-15 Thread Adam Wallis
The xhci driver forces DMA memory to be node aware, however, there are several ring-related memory allocations that are not memory node aware. This patch resolves those *alloc functions to be allocated on the proper memory node. Signed-off-by: Adam Wallis ---

usbutils 010 release

2018-05-15 Thread Greg KH
Hey, a new version of usbutils? It's not October, what's happening? Yes, I'm breaking with the "normal" slow release schedule of a new usbutils release every year or so with a new release today. The 010 release is now out at kernel.org and github. There's been a number of new descriptors that

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Steven Rostedt
On Wed, 9 May 2018 10:18:54 -0300 Mauro Carvalho Chehab wrote: > diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst > index 7b6b1236ec2e..c292117b83a9 100644 > --- a/Documentation/trace/events.rst > +++ b/Documentation/trace/events.rst > @@

Re: [PATCH] usb: xhci: force all memory allocations to node

2018-05-15 Thread Greg Kroah-Hartman
On Tue, May 15, 2018 at 09:53:57AM -0400, Adam Wallis wrote: > The xhci driver forces DMA memory to be node aware, however, there are > several ring-related memory allocations that are not memory node aware. > This patch resolves those *alloc functions to be allocated on the proper > memory node.

Re: [PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-05-15 Thread Krzysztof Kozlowski
On Tue, May 15, 2018 at 2:12 PM, Andrzej Hajda wrote: > OF graph describes USB data lanes between USB-PHY and respective MUIC. > Since graph is present and DWC driver can use it to get extcon, obsolete > extcon property can be removed. > > Signed-off-by: Andrzej Hajda

Re: [PATCH] usb: dwc2: Add Interpacket Gap(IPG) feature support

2018-05-15 Thread Minas Harutyunyan
On 5/5/2018 12:18 PM, Grigor Tovmasyan wrote: > Added GHWCFG4_IPG_ISOC_SUPPORTED and DCFG_IPG_ISOC_SUPPORDED > bits definitions to enable/disable IPG feature. > > Added ipg_isoc_en core parameter which will indicate IPG support > enable/disable and initialize it. > > Signed-off-by: Grigor

Re: [PATCH] usb: dwc2: Fix crash in incomplete isoc intr handlers.

2018-05-15 Thread Minas Harutyunyan
On 5/5/2018 12:30 PM, Artur Petrosyan wrote: > Crash caused by going out of "eps_out" array range. > Iteration on "eps_out" changed to less than "num_of_eps". > > Signed-off-by: Artur Petrosyan > --- Acked-by: Minas Harutyunyan >

Re: [PATCH] usb: dwc2: Change reading of current frame number flow.

2018-05-15 Thread Minas Harutyunyan
On 5/5/2018 5:46 PM, Artur Petrosyan wrote: > The current frame_number is read from core for both > device and host modes. Reading of the current frame > number needs to be performed ASAP due to IRQ latency's. > This is why, it is moved to common interrupt handler. > > Accordingly updated

Re: [PATCH v2] usb: dwc2: Fix kernel doc's warnings.

2018-05-15 Thread Minas Harutyunyan
Hi Filipe, Please pickup this patch to your testing/next. Thanks, Minas On 4/10/2018 9:59 AM, Minas Harutyunyan wrote: > Hi, > > On 4/3/2018 5:15 PM, Grigor Tovmasyan wrote: >> Added descriptions for all not described parameters. >> Fix all kernel doc's warnings. >> >> Signed-off-by: Grigor

Re: [PATCH] usb: dwc2: gadget: Fix memory leak in dwc2_gadget_init()

2018-05-15 Thread Minas Harutyunyan
On 4/16/2018 2:16 PM, Grigor Tovmasyan wrote: > In dwc2_gadget_init() we allocate EP0 request via > dwc2_hsotg_ep_alloc_request(). After that there are > usb_add_gadget_udc() call and if it failed, then > ctrl_req will not be freed and will cause memory leak. > > Reordered function calls in

[PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-05-15 Thread Andrzej Hajda
OF graph describes USB data lanes between USB-PHY and respective MUIC. Since graph is present and DWC driver can use it to get extcon, obsolete extcon property can be removed. Signed-off-by: Andrzej Hajda --- .../dts/exynos/exynos5433-tm2-common.dtsi | 19

Re: Not enough bandwidth with Magewell XI100DUSB-HDMI

2018-05-15 Thread Michael Tretter
Hi Mathias, On Tue, 10 Apr 2018 18:22:03 +0300, Mathias Nyman wrote: > On 09.04.2018 11:21, Michael Tretter wrote: > > On Tue, 20 Feb 2018 15:29:28 +0200, Mathias Nyman wrote: > >> On 16.02.2018 15:28, Michael Tretter wrote: > >>> On Mon, 29 Jan 2018 14:02:57 +0200, Mathias Nyman wrote: >

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 09, 2018 10:18:54 AM Mauro Carvalho Chehab wrote: > The script: > ./scripts/documentation-file-ref-check --fix-rst > > Gives multiple hints for broken references on some files. > Manually use the one that applies for some files. > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 1/2] Convert target drivers to use sbitmap

2018-05-15 Thread Jens Axboe
On 5/15/18 10:00 AM, Matthew Wilcox wrote: > From: Matthew Wilcox > > The sbitmap and the percpu_ida perform essentially the same task, > allocating tags for commands. Since the sbitmap is more used than > the percpu_ida, convert the percpu_ida users to the sbitmap API.

Re: usb: storage: what is the correct sequence for? sd_probe| storage_probe/1/2 and uas_probe | scsi_scan_host

2018-05-15 Thread Alan Stern
On Tue, 15 May 2018, Tushar Nimkar wrote: > Everyone, > > Please help me in understanding sd_probe| storage_probe/1/2 and > uas_probe | scsi_scan_host :) > Basically want to know the correct sequence for them? How > sd_probe_async() is called (ASYNC_DOMAIN(scsi_sd_probe_domain))? Very

[PATCH 2/2] Remove percpu_ida

2018-05-15 Thread Matthew Wilcox
From: Matthew Wilcox With its one user gone, remove the library code. Signed-off-by: Matthew Wilcox --- include/linux/percpu_ida.h | 83 lib/Makefile | 2 +- lib/percpu_ida.c | 391

Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9370

2018-05-15 Thread Greg KH
On Tue, May 15, 2018 at 04:34:03PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > Linux 4.17-rc5 shows the error below on the Dell XPS 13 9370 with Debian > Sid/unstable. > > ``` > […] > [0.440240] usb: port power management may be unreliable > [0.441358] usbcore: registered new

Re: [PATCH 1/2] Convert target drivers to use sbitmap

2018-05-15 Thread Jens Axboe
On 5/15/18 10:11 AM, Jens Axboe wrote: > On 5/15/18 10:00 AM, Matthew Wilcox wrote: >> From: Matthew Wilcox >> >> The sbitmap and the percpu_ida perform essentially the same task, >> allocating tags for commands. Since the sbitmap is more used than >> the percpu_ida,

Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9370

2018-05-15 Thread Paul Menzel
Dear Greg, As always, thank you for the prompt response. On 05/15/18 18:00, Greg KH wrote: On Tue, May 15, 2018 at 04:34:03PM +0200, Paul Menzel wrote: Linux 4.17-rc5 shows the error below on the Dell XPS 13 9370 with Debian Sid/unstable. ``` […] [0.440240] usb: port power management

Re: [PATCH v2 1/1] drivers: usb: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget

2018-05-15 Thread Tiago Brusamarello
2018-05-15 4:14 GMT-03:00 Felipe Balbi : > > Tiago Brusamarello writes: > >> Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting >> phy in SOCs with utmi dual phy >> >> Signed-off-by: Nikhil Badola >>

Re: [PATCH v5 05/14] usb: typec: add API to get typec basic port power and data config

2018-05-15 Thread Mats Karrman
Hi, On 05/14/2018 11:36 AM, Jun Li wrote: > Hi >> -Original Message- >> From: Mats Karrman [mailto:mats.dev.l...@gmail.com] >> Sent: 2018年5月12日 3:56 >> To: Jun Li ; robh...@kernel.org; gre...@linuxfoundation.org; >> heikki.kroge...@linux.intel.com; li...@roeck-us.net >>

Re: [PATCH] usb: xhci: force all memory allocations to node

2018-05-15 Thread Adam Wallis
On 5/15/2018 11:07 AM, Greg Kroah-Hartman wrote: > On Tue, May 15, 2018 at 09:53:57AM -0400, Adam Wallis wrote: > Does this really do anything? Given the speed of USB3 at the moment, > does fixing the memory to the node the PCI device is on show any > measurable speedups? Last I remember about

[PATCH 1/2] Convert target drivers to use sbitmap

2018-05-15 Thread Matthew Wilcox
From: Matthew Wilcox The sbitmap and the percpu_ida perform essentially the same task, allocating tags for commands. Since the sbitmap is more used than the percpu_ida, convert the percpu_ida users to the sbitmap API. Signed-off-by: Matthew Wilcox

[PATCH 0/2] Use sbitmap instead of percpu_ida

2018-05-15 Thread Matthew Wilcox
From: Matthew Wilcox This is a pretty rough-and-ready conversion of the target drivers from using percpu_ida to sbitmap. It compiles; I don't have a target setup, so it's completely untested. I haven't tried to do anything particularly clever here, so it's possible

[PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node

2018-05-15 Thread Florian Fainelli
Hi all, This patch series updates of_mdiobus_register() such that when the device_node argument is NULL, it calls mdiobus_register() directly. This is consistent with the behavior of of_mdiobus_register() when CONFIG_OF=n. I only converted the most obvious drivers, there are others that have a

[PATCH net-next v2 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Florian Fainelli
A number of drivers have the following pattern: if (np) of_mdiobus_register() else mdiobus_register() which the implementation of of_mdiobus_register() now takes care of. Remove that pattern in drivers that strictly adhere to it. Signed-off-by: Florian Fainelli

[PATCH] usbip: usbip_host: fix bad unlock balance during stub_probe()

2018-05-15 Thread Shuah Khan (Samsung OSG)
stub_probe() calls put_busid_priv() in an error path when device isn't found in the busid_table. Fix it by making put_busid_priv() safe to be called with null struct bus_id_priv pointer. This problem happens when "usbip bind" is run without loading usbip_host driver and then running modprobe. The

[PATCH net-next v2 1/2] of: mdio: Fall back to mdiobus_register() with NULL device_node

2018-05-15 Thread Florian Fainelli
When the device_node specified is NULL, fall back to mdiobus_register(). We have a number of drivers having a similar pattern which is: if (np) of_mdiobus_register() else mdiobus_register() so incorporate that behavior within the core of_mdiobus_register() function. This is also

Re: [PATCH net-next v2 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Grygorii Strashko
On 05/15/2018 06:56 PM, Florian Fainelli wrote: A number of drivers have the following pattern: if (np) of_mdiobus_register() else mdiobus_register() which the implementation of of_mdiobus_register() now takes care of. Remove that pattern in drivers that strictly adhere to

RE: [PATCH/RFC v3 3/4] usb: gadget: udc: renesas_usb3: use usb role switch API

2018-05-15 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman, Sent: Tuesday, May 15, 2018 5:04 PM > > On Tue, May 15, 2018 at 08:02:00AM +, Yoshihiro Shimoda wrote: > > Hi Simon-san, > > > > Thank you for your review! > > > > > From: Simon Horman, Sent: Tuesday, May 15, 2018 4:54 PM > > > On Mon, May 14, 2018 at

Hello

2018-05-15 Thread Mr.Joel Toure
Dear Friend, I am Mr. Joel TOURE,a banker by profession and I work with one of the largest bank here as the Group Managing Director/Chief Executive Officer. Meanwhile,I'm seriously in need of a partner then I decide to contact you believing that you can partner with me as I have opportunity to

RE: [PATCH net-next v2 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Andy Duan
From: Florian Fainelli Sent: 2018年5月16日 7:56 > A number of drivers have the following pattern: > > if (np) > of_mdiobus_register() > else > mdiobus_register() > > which the implementation of of_mdiobus_register() now takes care of. > Remove that pattern in

[PATCH v3 1/2] usb: dwc3: use local copy of resource to fix-up register offset

2018-05-15 Thread Masahiro Yamada
It is not a good idea to directly modify the resource of a platform device. Modify its local copy, and pass it to devm_ioremap_resource() so that we do not need to restore it in the failure path and the remove hook. Signed-off-by: Masahiro Yamada Reviewed-by:

[PATCH v3 0/2] usb: dwc3: support clocks and resets for DWC3 core

2018-05-15 Thread Masahiro Yamada
In the current design of DWC3 driver, the DT typically becomes a nested structure like follows: dwc3-glue { compatible = "foo,dwc3"; ... dwc3 { compatible = "snps,dwc3"; ... }; } The current DWC3 core

[PATCH v3 2/2] usb: dwc3: support clocks and resets for DWC3 core

2018-05-15 Thread Masahiro Yamada
Historically, the clocks and resets are handled on the glue layer side instead of the DWC3 core. For simple cases, dwc3-of-simple.c takes care of arbitrary number of clocks and resets. The DT node structure typically looks like as follows: dwc3-glue { compatible = "foo,dwc3";

Re: [PATCH net-next 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Florian Fainelli
On 05/15/2018 03:57 PM, Grygorii Strashko wrote: > > > On 05/15/2018 04:59 PM, Florian Fainelli wrote: >> A number of drivers have the following pattern: >> >> if (np) >> of_mdiobus_register() >> else >> mdiobus_register() >> >> which the implementation of of_mdiobus_register() now takes

[PATCH net-next 1/2] of: mdio: Fall back to mdiobus_register() with np is NULL

2018-05-15 Thread Florian Fainelli
When the Device Tree node specified is NULL, fall back to mdiobus_register(). We have a number of drivers having a similar pattern which is: if (np) of_mdiobus_register() else mdiobus_register() so incorporate that behavior within the core of_mdiobus_register() function. This is

Re: [RFC PATCH 1/7] usb: typec: Generalize mux mode names

2018-05-15 Thread Mats Karrman
Hi Heikki, On 05/15/2018 09:30 AM, Heikki Krogerus wrote: > Hi Mats, > > On Fri, May 11, 2018 at 09:28:04PM +0200, Mats Karrman wrote: >> On 2018-05-11 13:14, Heikki Krogerus wrote: >> >>> On Fri, May 11, 2018 at 11:05:55AM +0200, Mats Karrman wrote: On 2018-05-10 19:49, Heikki Krogerus

Pandaboard OMAP4 MUSB short packet hang on UVC gadget

2018-05-15 Thread Kieran Bingham
Hi Bin, Felipe, We have been trying to get a UVC gadget operational on the Pandaboard ES platform, and we believe we've hit an issue with short packets on the MUSB in DMA mode. Using the g_webcam module, I can instantiate a UVC video node, and use the uvc-gadget helper application [0] to handle

[PATCH net-next 0/2] of: mdio: Fall back to mdiobus_register() with np is NULL

2018-05-15 Thread Florian Fainelli
Hi all, This patch series updates of_mdiobus_register() such that when the device_node argument is NULL, it calls mdiobus_register() directly. This is consistent with the behavior of of_mdiobus_register() when CONFIG_OF=n. I only converted the most obvious drivers, there are others that have a

[PATCH net-next 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Florian Fainelli
A number of drivers have the following pattern: if (np) of_mdiobus_register() else mdiobus_register() which the implementation of of_mdiobus_register() now takes care of. Remove that pattern in drivers that strictly adhere to it. Signed-off-by: Florian Fainelli

Re: [PATCH net-next 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-15 Thread Grygorii Strashko
On 05/15/2018 04:59 PM, Florian Fainelli wrote: A number of drivers have the following pattern: if (np) of_mdiobus_register() else mdiobus_register() which the implementation of of_mdiobus_register() now takes care of. Remove that pattern in drivers that strictly adhere to

Renesas uPD720202 USB 3.0

2018-05-15 Thread Christian Brauns
Hi, I'm not used to writing bug-reports. From: https://bbs.archlinux.org/viewtopic.php?id=236806, I got adviced to do that. I have an usb 3 controller laptop expresscard Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) using that in a Lenovo X220 which does not work with the

Re: [PATCH] usbip: usbip_host: fix bad unlock balance during stub_probe()

2018-05-15 Thread Greg KH
On Tue, May 15, 2018 at 05:57:23PM -0600, Shuah Khan (Samsung OSG) wrote: > stub_probe() calls put_busid_priv() in an error path when device isn't > found in the busid_table. Fix it by making put_busid_priv() safe to be > called with null struct bus_id_priv pointer. > > This problem happens when

Re: [PATCH 1/2] Convert target drivers to use sbitmap

2018-05-15 Thread Felipe Balbi
Hi, Matthew Wilcox writes: > From: Matthew Wilcox > > The sbitmap and the percpu_ida perform essentially the same task, > allocating tags for commands. Since the sbitmap is more used than > the percpu_ida, convert the percpu_ida users to the

Re: [PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-05-15 Thread Felipe Balbi
Krzysztof Kozlowski writes: > On Tue, May 15, 2018 at 2:12 PM, Andrzej Hajda wrote: >> OF graph describes USB data lanes between USB-PHY and respective MUIC. >> Since graph is present and DWC driver can use it to get extcon, obsolete >> extcon property can