[PATCH] usb: Add device quirk for Logitech HD Pro Webcam C920-C

2017-08-21 Thread Dmitry Fleytman
Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e") introduced quirk to workaround an issue with some Logitech webcams. Apparently model C920-C has the same issue so applying the same quirk as well. See aforementioned commit message for detailed explanation of

[GIT PULL] USB changes for v4.14

2017-08-21 Thread Felipe Balbi
Hi Greg, Here's the USB gadget pull request. Not much going on this time around. Changes have been in linux-next for a while with no bug reports. I have also tested what I could on GLK. Let me know if you want anything to be changed. The following changes since commit aae4e7a8bc44722fe70d58920

Re: [PATCH] mmc: vub300: constify usb_device_id

2017-08-21 Thread Ulf Hansson
On 9 August 2017 at 19:50, Arvind Yadav wrote: > usb_device_id are not supposed to change at runtime. All functions > working with usb_device_id provided by work with > const usb_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Thanks, applied for next! Kind r

[PATCH] USB: serial: option: add support for D-Link DWM-157 C1

2017-08-21 Thread Maciej S. Szmigiero
This commit adds support (IDs, really) for D-Link DWM-157 hardware version C1 USB modem to option driver. According to manufacturer-provided Windows INF file the device has four serial ports: "D-Link HSPA+DataCard Diagnostics Interface" (interface 2; modem port), "D-Link HSPA+DataCard NMEA Device"

Re: [PATCH 06/15] mtd: make device_type const

2017-08-21 Thread Boris Brezillon
Le Sat, 19 Aug 2017 13:52:17 +0530, Bhumika Goyal a écrit : > Make this const as it is only stored in the type field of a device > structure, which is const. > Done using Coccinelle. > Applied to l2-mtd/master. Thanks, Boris > Signed-off-by: Bhumika Goyal > --- > drivers/mtd/mtdcore.c | 2

Re: [PATCH v2 3/4] dt-bindings: mt8173-mtu3: add generic compatible and rename file

2017-08-21 Thread Rob Herring
On Wed, Aug 16, 2017 at 02:08:12PM +0800, Chunfeng Yun wrote: > The mt8173-mtu3.txt actually holds the bindings for all mediatek > SoCs with usb3 DRD IP, so add a generic compatible and change the > name to mediatek,mtu3.txt. > > Signed-off-by: Chunfeng Yun > --- > .../usb/{mt8173-mtu3.txt => me

Re: [PATCH 1/7] dt-bindings: usb: Document the STM32F7xx DWC2 USB OTG HS core binding

2017-08-21 Thread Rob Herring
On Thu, Aug 17, 2017 at 11:33:00AM +0200, Amelie Delaunay wrote: > This patch adds binding documentation for DWC2 controller in HS mode found > on STMicroelectronics STM32F7xx SoC. > > Signed-off-by: Amelie Delaunay > --- > Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ > 1 file changed,

[PATCH next 1/2] phy: phy-mtk-tphy: fix NULL point of chip bank

2017-08-21 Thread Chunfeng Yun
Chip bank of version-1 is initialized as NULL, but it's used by pcie_phy_instance_power_on/off(), so assign it a right address. Signed-off-by: Chunfeng Yun --- drivers/phy/mediatek/phy-mtk-tphy.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/mediatek/phy-mt

[PATCH next 2/2] phy: phy-mtk-tphy: add set_mode callback

2017-08-21 Thread Chunfeng Yun
This is used to force PHY with USB OTG function to enter a specific mode, and override OTG VBUS and ID signals. Signed-off-by: Chunfeng Yun --- drivers/phy/mediatek/phy-mtk-tphy.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/phy/mediatek/phy-

Re: [PATCH] usb: gadget: f_midi: Use snd_card_free_when_closed with refcount

2017-08-21 Thread Manu Gautam
Hi, On 8/18/2017 11:30 AM, Manu Gautam wrote: > Hi, > > > On 8/15/2017 2:44 AM, Jerry Zhang wrote: >> @@ -1197,14 +1200,21 @@ static void f_midi_free(struct usb_function *f) >> >> midi = func_to_midi(f); >> opts = container_of(f->fi, struct f_midi_opts, func_inst); > opts could be fr