Re: [PATCH] USB: simple: add Google simple serial SubClass support

2014-11-03 Thread Johan Hovold
On Thu, Oct 30, 2014 at 09:54:54PM -0700, Anton Staaf wrote: On Thu, Oct 30, 2014 at 7:33 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Oct 29, 2014 at 02:21:56PM -0700, Anton Staaf wrote: Add support for Google devices that export simple serial interfaces using the

Re: PATCH : add support for HuiJia USB Gamepad connector (0e8f:1006 and 0e8f:3010)

2014-11-03 Thread Jiri Kosina
On Sat, 1 Nov 2014, Prédhomme Philippe wrote: Create each gamepad as a separate joystick. Both device (1006 is for Sega Saturn controllers, 3010 is for Sony Playstation 1/2 controllers) work the same as 0e8f:3013 (which is for Nintendo 64 controllers), so i used this device as reference to

Re: [PATCH] usb: yurex: fixed sparse warning of incorrect type

2014-11-03 Thread Sudip Mukherjee
On Fri, Oct 10, 2014 at 06:19:45PM +0530, Sudip Mukherjee wrote: fixed sparse warning of 1) incorrect type (different address spaces) 2) incorrect type in initializer Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/usb/misc/yurex.c | 6 -- 1 file changed,

Re: Potential USB PHY error handling fix for stable

2014-11-03 Thread Luis Henriques
On Wed, Oct 29, 2014 at 10:10:12PM +, Mark Brown wrote: Hi, One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb: phy: return -ENODEV on failure of try_module_get) as a fix for the stable kernel. While it's error handling that's being fixed this does seem like a

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-11-03 Thread Kishon Vijay Abraham I
Hi Greg, On Tuesday 07 October 2014 04:32 PM, Oussama Ghorbel wrote: The USB OTG port does not work since v3.16 on omap platform. This is a regression introduced by the commit eb82a3d846fa (phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove). This because the call to

Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-03 Thread Andrzej Pietrasiewicz
Hi Laurent, Hi Felipe, W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze: On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote: Hi, On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote: This series aims at integrating configfs into uvc, the way it has been done for acm,

Re: [PATCHv2 0/7] Equivalent of g_midi with configfs

2014-11-03 Thread Andrzej Pietrasiewicz
W dniu 16.10.2014 o 13:33, Andrzej Pietrasiewicz pisze: This series aims at integrating configfs into midi, the way it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet, mass_storage, FunctionFS, loopback, sourcesink, uac1, uac2, uvc and hid. It concludes converting functions

Re: [PATCH 0/8] Equivalent of g_hid with configfs

2014-11-03 Thread Andrzej Pietrasiewicz
Hi Felipe, W dniu 10.10.2014 o 20:07, Andrzej Pietrasiewicz pisze: This series aims at integrating configfs into hid, the way it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet, mass_storage, FunctionFS, loopback, sourcesink, uac1, uac2 and uvc. Have you got any

RE: [PATCH net-next v2 2/3] r8152: clear theflagofSCHEDULE_TASKLETin tasklet

2014-11-03 Thread Hayes Wang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] test_and_clear_bit (dense) or clear_bit would be more idiomatic. Excuse me. If I use clear_bit without test_bit or test_and_clear_bit, they alwayes call the spin lock. However, for my original flow, the spin lock is only called when the

Re: [PATCH] HID: usbhid: enable always-poll quirk for Elan Touchscreen 0103

2014-11-03 Thread Jiri Kosina
On Fri, 31 Oct 2014, Adel Gadllah wrote: Yet another device that needs this quirk. Reported-by: Tanguy de Baritault tdebarita...@gmail.com Signed-off-by: Adel Gadllah adel.gadl...@gmail.com Applied, thanks. --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1

Re: [PATCH 1/2] [usb] make xhci platform driver use 64 bit or 32 bit DMA

2014-11-03 Thread Mark Salter
On Thu, 2014-10-30 at 22:05 +0100, Arnd Bergmann wrote: You should definitely make sure that this also works with DT, as I don't think it's possible to support X-Gene with ACPI. I know that Al Stone has experimented with it in the past, but he never came back with any results, so I assume the

Re: Question r/e zero byte bulk transfer on musb gadget (causes kernel panic)

2014-11-03 Thread Breton M. Saunders
On 01/11/2014 15:05, Alan Stern wrote: On Sat, 1 Nov 2014, Breton M. Saunders wrote: This is required behavior, for example, during the data phase of a bulk-only mass-storage transfer. The specification states that under certain circumstances, the device _must_ send a zero-length packet on

[PATCH v2 1/2] usb: gadget dbgp: Fix endpoint config after USB disconnect

2014-11-03 Thread Kyösti Mälkki
SET_FEATURE request with DEBUG_MODE only worked the first time after module initialisation. Per the USB 2.0 debug device specification, said request is to be treated as if it were a SET_CONFIGURATION request, i.e. endpoint must be re-configured. As configure_endpoints() may now get called

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-11-03 Thread Felipe Balbi
Hi, On Fri, Oct 31, 2014 at 02:31:31PM -0500, Dinh Nguyen wrote: On 10/31/2014 12:42 PM, Felipe Balbi wrote: Hi, On Fri, Oct 31, 2014 at 10:20:06AM -0500, Dinh Nguyen wrote: @@ -339,7 +339,8 @@ static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg)

Re: [PATCH v2 2/2] usb: gadget serial: Honour termios CLOCAL on disconnect

2014-11-03 Thread Peter Hurley
Hi Kyösti, On 11/03/2014 10:18 AM, Kyösti Mälkki wrote: There are applications where it is desirable to not hangup ttyGS* when USB disconnect is detected. USB host side of communication may power-cycle periodically or there may be the actual need to physically disconnect and reconnect USB

Re: gadgetfs: fops change not preserved on return from dev_config()

2014-11-03 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 09:39:20AM +1100, Andre Wolokita wrote: Hi Felipe, On 28/10/14 01:26, Felipe Balbi wrote: Hi, On Mon, Oct 27, 2014 at 10:31:42AM +1100, Andre Wolokita wrote: I'm noticing some strange behaviour in the gadgetfs driver when running gadgetfs-test; the program

Re: Question r/e zero byte bulk transfer on musb gadget (causes kernel panic)

2014-11-03 Thread Alan Stern
On Mon, 3 Nov 2014, Breton M. Saunders wrote: Hi Alan, Thanks again for your help. I think my understanding of the bulk transfer protocol was incorrectly confused with my previous work on control transfers. It looks like there is no concept of transfer vs transaction in bulk

bugreport: huawei_cdc_ncm kernel driver and control device unbinds after 121 AT commands sent

2014-11-03 Thread Erik Alapää
Problem: The huawei_cdc_ncm driver (for the 4G LTE dongle Huawei E3276) gets unregistered and the control device /dev/cdc-wdmN disappears after sending exactly 121 AT commands to the device. After a few seconds, the driver is re-registered and the control device reappears. Test program causing the

Re: [PATCH usb v3 17/29] host: ehci-orion: remove duplicate check on resource

2014-11-03 Thread Gregory CLEMENT
Hi Varka, On 31/10/2014 02:14, Varka Bhadram wrote: From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Reviewed-by: Gregory CLEMENT gregory.clem...@free-electrons.com Thanks, Gregory Signed-off-by: Varka Bhadram

Re: [PATCH usb v3 22/29] host: xhci-plat: remove duplicate check on resource

2014-11-03 Thread Gregory CLEMENT
Hi Varka, On 31/10/2014 02:14, Varka Bhadram wrote: From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Reviewed-by: Gregory CLEMENT gregory.clem...@free-electrons.com Thanks, Gregory Signed-off-by: Varka Bhadram var...@cdac.in

Re: [PATCH usb v3 22/29] host: xhci-plat: remove duplicate check on resource

2014-11-03 Thread Felipe Balbi
On Fri, Oct 31, 2014 at 06:44:37AM +0530, Varka Bhadram wrote: From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu Acked-by: Felipe Balbi

Re: [PATCH] usb: musb: replace hard coded registers with defines

2014-11-03 Thread Felipe Balbi
On Mon, Oct 27, 2014 at 09:48:39PM +0100, Roman Byshko wrote: musb registers can be dumped using the file regdump which is created in debugfs. Up to now hard coded register addresses are used for that. Different glue layers however have different register addresses. The patch addresses this

Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-03 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 12:56:32PM +0100, Andrzej Pietrasiewicz wrote: Hi Laurent, Hi Felipe, W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze: On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote: Hi, On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote: This series

Re: [PATCH v4] usb: gadget: f_fs: add no_disconnect mode

2014-11-03 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 03:21:51PM +0200, Robert Baldyga wrote: Since we can compose gadgets from many functions, there is the problem related to gadget breakage while FunctionFS daemon being closed. FFS function is userspace code so there is no way to know when it will close files (it

Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-03 Thread Felipe Balbi
Hi, On Fri, Oct 31, 2014 at 09:27:43AM +0530, Kiran Raparthy wrote: Thank you very much for taking time in reviewing the patch. I will try to improve the patch as per your suggestions. however,i have few queries which i wanted to understand from you. sure thing. On 7 October 2014

Re: btusb_intr_complete returns -EPIPE

2014-11-03 Thread Alan Stern
On Mon, 3 Nov 2014, Naveen Kumar Parna wrote: On Sat, Nov 1, 2014 at 2:21 AM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 29 Oct 2014, Naveen Kumar Parna wrote: Split packet transactions are hidden. I could see them by clicking on the (Show/Hide Split transactions) button. For

[PATCH] USB: simple: add Google simple serial SubClass support

2014-11-03 Thread Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01. Signed-off-by: Anton Staaf robot...@chromium.org --- drivers/usb/serial/usb-serial-simple.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH 1/2] [usb] make xhci platform driver use 64 bit or 32 bit DMA

2014-11-03 Thread Mark Salter
On Mon, 2014-11-03 at 18:14 +0100, Arnd Bergmann wrote: On Monday 03 November 2014 09:15:51 Mark Salter wrote: On Thu, 2014-10-30 at 22:05 +0100, Arnd Bergmann wrote: You should definitely make sure that this also works with DT, as I don't think it's possible to support X-Gene with ACPI.

Re: [PATCH] USB: simple: add Google simple serial SubClass support

2014-11-03 Thread Benson Leung
On Mon, Nov 3, 2014 at 8:43 AM, Anton Staaf robot...@chromium.org wrote: Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01. Signed-off-by: Anton Staaf robot...@chromium.org Reviewed-by: Benson Leung

bugreport: huawei_cdc_ncm control device freezes for 3-5 minutes on connect with E3276 LTE modem

2014-11-03 Thread Erik Alapää
Correction: Unfortunately, there was a bug in my test program, an '\r' was added to the AT command at each lap of the loop... So the driver reboots when 120 superfluous '\r' are included in the AT message. May still be a bug, but a less obvious one. -- To unsubscribe from this list: send the line

Re: bugreport: huawei_cdc_ncm control device freezes for 3-5 minutes on connect with E3276 LTE modem

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 09:18:10PM +0100, Erik Alapää wrote: Correction: Unfortunately, there was a bug in my test program, an '\r' was added to the AT command at each lap of the loop... So the driver reboots when 120 superfluous '\r' are included in the AT message. May still be a bug, but

Re: bugreport: huawei_cdc_ncm control device freezes for 3-5 minutes on connect with E3276 LTE modem

2014-11-03 Thread Erik Alapää
Will try reporting to the hw company, maybe there is a firmware upgrade on the horizon. /Erik Alapää On Mon, Nov 3, 2014 at 9:32 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Nov 03, 2014 at 09:18:10PM +0100, Erik Alapää wrote: Correction: Unfortunately, there was a bug in my test

Large disk drives

2014-11-03 Thread Dale R. Worley
Was there any resolution as to how large disk drives would be handled if their interface did not support the capacity request that would tell how large they were? Or as an alternative, is there any way to avoid buying USB-SCSI interfaces that do not support the large-capacity request?

Re: [PATCHv4 3/6] arm: omap3: twl: use the new lookup method with usb phy

2014-11-03 Thread Tony Lindgren
* Heikki Krogerus heikki.kroge...@linux.intel.com [141017 07:43]: Provide complete association for the phy and it's user (musb) with the new phy lookup method. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Kishon, this looks OK for you to queue with other PHY patches:

Re: usbserial / ftdi_sio (+ others) bug?

2014-11-03 Thread Janne Huttunen
On Wed, 29 Oct 2014 09:51:28 +0100 Johan Hovold jo...@kernel.org wrote: Having the driver not reporting overrun (and other) errors will obviously not fix the underlying issue with your device, which is generating all these errors in the first place. Ok, I did take a closer look at this (mostly

Re: [PATCH] usb: dwc2: allow dwc2 to get built when USB_GADGET=m

2014-11-03 Thread Dinh Nguyen
Hi Felipe, On 10/22/2014 01:29 PM, Paul Zimmerman wrote: From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] Sent: Tuesday, October 21, 2014 1:32 PM From: Dinh Nguyen dingu...@opensource.altera.com This patch allows the gadget portion of the DWC2 driver to get built

Re: [PATCH] usb: dwc2: allow dwc2 to get built when USB_GADGET=m

2014-11-03 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 04:25:06PM -0600, Dinh Nguyen wrote: Hi Felipe, On 10/22/2014 01:29 PM, Paul Zimmerman wrote: From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] Sent: Tuesday, October 21, 2014 1:32 PM From: Dinh Nguyen dingu...@opensource.altera.com

Re: [PATCH] usb: dwc2: allow dwc2 to get built when USB_GADGET=m

2014-11-03 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 04:34:06PM -0600, Felipe Balbi wrote: On Mon, Nov 03, 2014 at 04:25:06PM -0600, Dinh Nguyen wrote: Hi Felipe, On 10/22/2014 01:29 PM, Paul Zimmerman wrote: From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] Sent: Tuesday, October

Re: [RFC RESEND 00/10] Create separate header for ehci-dbgp driver

2014-11-03 Thread Greg Kroah-Hartman
On Sun, Nov 02, 2014 at 09:07:47PM -0600, Chris Rorvick wrote: One more attempt at getting some feedback. Original: The FUSBH200 and FOTG210 are not EHCI-compatible and require standalone drivers. See discussion at: http://comments.gmane.org/gmane.linux.usb.general/84169 But these

Re: [PATCH v2] serial: Fix Entrega company name spelling

2014-11-03 Thread Greg KH
On Sat, Oct 04, 2014 at 12:19:59PM +0100, Mark Knibbs wrote: Hi, Patch v2 change: Fix spelling in usb-serial.txt too. Entrega is misspelled as Entregra or Entrgra, so fix that. Signed-off-by: Mark Knibbs ma...@clara.co.uk I see a bunch of patches from you in my queue, but I'm confused

Re: [PATCH v3] usb: Remove references to non-existent PLAT_S5P symbol

2014-11-03 Thread Greg KH
On Tue, Oct 07, 2014 at 11:12:07AM +0200, Sylwester Nawrocki wrote: The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 (ARM: SAMSUNG: Remove remaining legacy code). There are still some references left, fix that by replacing them with ARCH_S5PV210. Fixes: d78c16ccde96 (ARM:

Re: [PATCH 1/1] usb: core: notify disconnection when core detects disconnect

2014-11-03 Thread Greg KH
On Wed, Oct 08, 2014 at 01:58:17PM +0800, Peter Chen wrote: It is safe to call notify disconnect when the usb core thinks the device is disconnected. This commit also fixes one bug found at below situation: we have not enabled usb wakeup, we do system suspend when there is an usb device at

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 04:51:41PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, On Tuesday 07 October 2014 04:32 PM, Oussama Ghorbel wrote: The USB OTG port does not work since v3.16 on omap platform. This is a regression introduced by the commit eb82a3d846fa (phy: omap-usb2: Balance

Re: [PATCH usb v3 00/29] cleanup and fixes on resource check

2014-11-03 Thread Greg KH
On Fri, Oct 31, 2014 at 05:31:41PM +0300, Sergei Shtylyov wrote: Hello. On 10/31/2014 4:14 AM, Varka Bhadram wrote: This series removes the duplication of sanity check for platform_get_resource() return resource. It will be checked with devm_ioremap_resource() This entire series

Re: [PATCH] printk: Add and use LOGLEVEL_level defines for KERN_LEVEL equivalents

2014-11-03 Thread Greg KH
On Sun, Nov 02, 2014 at 01:42:34PM -0800, Joe Perches wrote: Use #defines instead of magic values. Signed-off-by: Joe Perches j...@perches.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a

Re: [PATCH v2 2/2] usb: gadget serial: Honour termios CLOCAL on disconnect

2014-11-03 Thread Kyösti Mälkki
On 11/03/2014 05:33 PM, Peter Hurley wrote: Hi Kyösti, On 11/03/2014 10:18 AM, Kyösti Mälkki wrote: There are applications where it is desirable to not hangup ttyGS* when USB disconnect is detected. USB host side of communication may power-cycle periodically or there may be the actual need to

Caught up on pending USB patch queue

2014-11-03 Thread Greg KH
Hi all, I've caught up on the pending USB patch queue, so if you have sent a USB patch that I should be applying, and you didn't get an email saying it was applied, or rejected, please resend. Note, this doesn't apply to USB patches picked up by other maintainers (xhci, usb-serial, gadget, phy,

Re: [PATCH v2 2/2] ARM: shmobile: lager: enable USB3.0

2014-11-03 Thread Simon Horman
On Fri, Oct 31, 2014 at 01:22:22PM +, yoshihiro shimoda wrote: Hi Simon-san, On Fri, Oct 31, 2014 at 02:06:14AM +, yoshihiro shimoda wrote: Hi Simon-san, On Wed, Oct 29, 2014 at 08:19:30PM +0900, Yoshihiro Shimoda wrote: Hi Magnus-san, (2014/10/29 15:53),

RE: [PATCH v5 1/4] usb: renesas_usbhs: gadget: fix NULL pointer dereference in ep_disable()

2014-11-03 Thread yoshihiro shimoda
On Fri, Oct 31, 2014 at 01:20:08PM +0900, Yoshihiro Shimoda wrote: From: Kazuya Mizuguchi kazuya.mizuguchi...@renesas.com This patch fixes an issue that the NULL pointer dereference happens when we uses g_audio driver. Since the g_audio driver will call usb_ep_disable() in

[PATCH v6 0/4] usb: renesas_usbhs: fixes this driver in gadget mode (part2)

2014-11-03 Thread Yoshihiro Shimoda
If we tested this driver as gadget, some issues below happened: - Oops happened if g_audio. - A usb enumeration may fail if we do insmod during connected the usb cable. - A transaction will not finish if g_zero. - A usb enumeration may fail after we re-connected the usb cable. This patch

[PATCH v6 1/4] usb: renesas_usbhs: gadget: fix NULL pointer dereference in ep_disable()

2014-11-03 Thread Yoshihiro Shimoda
From: Kazuya Mizuguchi kazuya.mizuguchi...@renesas.com This patch fixes an issue that the NULL pointer dereference happens when we uses g_audio driver. Since the g_audio driver will call usb_ep_disable() in afunc_set_alt() before it calls usb_ep_enable(), the uep-pipe of renesas usbhs driver will

[PATCH v6 2/4] usb: renesas_usbhs: gadget: fix the behavior of pullup

2014-11-03 Thread Yoshihiro Shimoda
From: Takeshi Kihara takeshi.kihara...@renesas.com This patch fixes an issue that this driver always enable the D+ pullup after it detected the VBUS connection even though this usb controller can control the D+ pullup timing by software. So, this driver should enable the D+ pullup after a gadget

[PATCH v6 3/4] usb: renesas_usbhs: fix the timing of dcp_control_transfer_done

2014-11-03 Thread Yoshihiro Shimoda
According to the datasheet, this driver should clear the INTSTS0.CTRT bit before this controller detects the next stage transition. Otherwise, the driver may not be able to clear the bit after the controller went to the next stage transition. After that, the driver will not be able to clear the

Re: [PATCH usb v3 00/29] cleanup and fixes on resource check

2014-11-03 Thread Varka Bhadram
Hi greg k-h, On Tuesday 04 November 2014 05:16 AM, Greg KH wrote: On Fri, Oct 31, 2014 at 05:31:41PM +0300, Sergei Shtylyov wrote: Hello. On 10/31/2014 4:14 AM, Varka Bhadram wrote: This series removes the duplication of sanity check for platform_get_resource() return resource. It will be

[PATCH] usb: dwc3: ep0: remove unnecessary break after return

2014-11-03 Thread Jingoo Han
Fix the following checkpatch warning. WARNING: break is not useful after a goto or return Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/usb/dwc3/ep0.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 711b230..1d91c93

[PATCH usb v4 0/2] fixes on resource check

2014-11-03 Thread varkabhadram
From: Varka Bhadram var...@cdac.in This series fixes for NULL pointer dereference on resource. Series based on usb-next of [1] changes: Up to v3, combined series for fixes and cleanups for resource check. For v4 seperated as two series on for fixes another for cleanups. [1]:

[PATCH usb v4 1/2] host: uhci-platform: fix NULL pointer dereference on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Fix in accessing NULL if resource didn't get. Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/uhci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH usb v4 2/2] host: ehci-sead3: fix NULL pointer dereference on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Fix on accessing NULL pointer dereference on get resource failed. Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-sead3.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[PATCH] usb: dwc3: exynos: remove non-DT support for Exynos Specific Glue layer

2014-11-03 Thread Jingoo Han
DWC3 Exynos Specific Glue layer can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is not supported from v3.11; thus, there is no need to support non-DT for DWC3 Exynos Specific Glue layer. The 'linux/platform_data/dwc3-exynos.h' file has been used for non-DT support. Thus, the

[PATCH] usb:host:xhci-plat: 64-bit dma addressing support

2014-11-03 Thread Feng Kan
Use dma_addr_t to support 64-bit plaforms, which access beyond 32 bit address range. Signed-off-by: Bao Truong btru...@apm.com Signed-off-by: Feng Kan f...@apm.com --- drivers/usb/host/xhci-plat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] usb:host:xhci-plat: 64-bit dma addressing support

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 05:59:28PM -0800, Feng Kan wrote: Use dma_addr_t to support 64-bit plaforms, which access beyond 32 bit address range. Signed-off-by: Bao Truong btru...@apm.com Signed-off-by: Feng Kan f...@apm.com --- drivers/usb/host/xhci-plat.c | 5 +++-- 1 file changed, 3

[PATCH usb v4 01/27] host: ehci-atmel: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-atmel.c | 13 +++-- 1 file changed, 3 insertions(+), 10

[PATCH usb v4 22/27] musb: musb_dsps: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/usb/musb/musb_dsps.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c

[PATCH usb v4 24/27] dwc3: dwc3-keystone: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/usb/dwc3/dwc3-keystone.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-keystone.c

[PATCH usb v4 04/27] host: ehci-w90x900: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-w90x900.c | 13 +++-- 1 file changed, 3 insertions(+), 10

[PATCH usb v4 21/27] musb: musb_core: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/usb/musb/musb_core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_core.c

[PATCH usb v4 05/27] host: ohci-at91: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-at91.c | 11 +++ 1 file changed, 3 insertions(+), 8

[PATCH usb v4 07/27] host: ohci-jz4740: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-jz4740.c | 13 +++-- 1 file changed, 3 insertions(+), 10

[PATCH usb v4 12/27] host: ohci-spear: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-spear.c | 11 +++ 1 file changed, 3 insertions(+), 8

[PATCH usb v4 19/27] host: ehci-spear: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-spear.c |9 ++--- 1 file changed, 2 insertions(+), 7

[PATCH usb v4 23/27] phy: phy-rcar-usb: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/usb/phy/phy-rcar-usb.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH usb v4 20/27] host: xhci-plat: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Gregory CLEMENT

[PATCH usb v4 10/27] host: ohci-pxa27x: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-pxa27x.c | 11 ++- 1 file changed, 2 insertions(+), 9

[PATCH usb v4 27/27] renesas_usbhs: common: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram var...@cdac.in Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/usb/renesas_usbhs/common.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c

[PATCH usb v4 06/27] host: ohci-exynos: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-exynos.c | 10 ++ 1 file changed, 2 insertions(+), 8

[PATCH usb v4 25/27] host: ehci-fsl: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-fsl.c | 12 +++- 1 file changed, 3 insertions(+), 9

[PATCH usb v4 08/27] host: ohci-octeon: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-octeon.c | 12 +++- 1 file changed, 3 insertions(+), 9

[PATCH usb v4 14/27] host: ehci-mv: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-mv.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH usb v4 17/27] host: ehci-orion: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu Reviewed-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH usb v4 00/27] cleanup on resource check

2014-11-03 Thread varkabhadram
From: Varka Bhadram var...@cdac.in This series removes the duplication of sanity check for platform_get_resource() return resource. It will be checked with devm_ioremap_resource(). This entire series rebased on usb-next of [1]. changes since v1: - removed broken patches - added

[PATCH usb v4 03/27] host: ehci-tegra: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-tegra.c | 10 +++--- 1 file changed, 3 insertions(+), 7

[PATCH usb v4 15/27] host: ehci-mxc: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-mxc.c | 11 ++- 1 file changed, 2 insertions(+), 9

[PATCH usb v4 16/27] host: ehci-octeon: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-octeon.c | 12 +++- 1 file changed, 3 insertions(+), 9

[PATCH usb v4 18/27] host: ehci-platform: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-platform.c | 12 1 file changed, 4 insertions(+), 8

[PATCH 1/1] x86: Surface Pro 3 Type Cover 3

2014-11-03 Thread Alan Wu
Surface Pro 3 Type Cover that works with Ubuntu (and possibly Arch) from this thread. Both trackpad and keyboard work after compiling my own kernel. http://ubuntuforums.org/showthread.php?t=2231207page=2s=44910e0c56047e4f93dfd9fea58121ef Also includes Jarrad Whitaker's message which sources

[PATCH usb v4 02/27] host: ohci-da8xx: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram var...@cdac.in Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ohci-da8xx.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff

[PATCH usb v4 13/27] host: ehci-msm: remove duplicate check on resource

2014-11-03 Thread varkabhadram
From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram var...@cdac.in Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-msm.c | 10 ++ 1 file changed, 2 insertions(+), 8

Re: [PATCH v2 1/1] usb: core: notify disconnection when core detects disconnect

2014-11-03 Thread Greg KH
On Tue, Nov 04, 2014 at 10:46:11AM +0800, Peter Chen wrote: It is safe to call notify disconnect when the usb core thinks the device is disconnected. This commit also fixes one bug found at below situation: we have not enabled usb wakeup, we do system suspend when there is an usb device at

Re: [PATCH usb v3 00/29] cleanup and fixes on resource check

2014-11-03 Thread Varka Bhadram
On Tuesday 04 November 2014 06:46 AM, Varka Bhadram wrote: Hi greg k-h, On Tuesday 04 November 2014 05:16 AM, Greg KH wrote: On Fri, Oct 31, 2014 at 05:31:41PM +0300, Sergei Shtylyov wrote: Hello. On 10/31/2014 4:14 AM, Varka Bhadram wrote: This series removes the duplication of sanity

Fix Penguin Penalty 17th October2014 ( mail-archive.com )

2014-11-03 Thread amendments54732
Dear Sir Did your website get hit by Google Penguin update on October 17th 2014? What basically is Google Penguin Update? It is actually a code name for Google algorithm which aims at decreasing your websites search engine rankings that violate Google’s guidelines by using black hat SEO

asix: Don't reset PHY on if_up for ASIX 88772 breaks net on arndale platform

2014-11-03 Thread Riku Voipio
Hi, With 3.18-rc3, asix on arndale (samsung exynos 5250 based board), fails to work. Interface is initialized but network traffic seem not to pass through. With kernel IP config the result looks like: [3.323275] usb 3-3.2.4: new high-speed USB device number 4 using exynos-ehci [3.419151]

Re: [PATCH 2/3] usb: xhci: This reworks ff8cbf250b448aac35589f6075082c3fcad8a8fe

2014-11-03 Thread Lu, Baolu
On 10/31/2014 10:28 PM, Alan Stern wrote: On Fri, 31 Oct 2014, Lu Baolu wrote: xhci: clear root port wake on bits if controller isn't wake-up capable When xHCI PCI host is suspended, if do_wakeup is false in xhci_pci_suspend, xhci_pci_suspend needs to clear all root port wake on bits.

Re: Large disk drives

2014-11-03 Thread James Bottomley
On Mon, 2014-11-03 at 16:06 -0500, Dale R. Worley wrote: Was there any resolution as to how large disk drives would be handled if their interface did not support the capacity request that would tell how large they were? Realistically no ... unless someone comes up with a reliable heuristic to