[PATCH 1/1] staging: usbip: put usb_device and kill event handler thread in error cleanups.

2012-11-06 Thread Harvey Yang
From: harvey.yang If probe returns with error, the kthread is still alive even when all usbip modules unloaded. So do cleanups in error handler. Signed-off-by: harvey.yang --- drivers/staging/usbip/stub_dev.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/st

[PATCH 0/3] usb: renesas_usbhs: fixup patches for host

2012-11-06 Thread Kuninori Morimoto
Hi Felipe, GregKH These pathces fixup renesas_usbhs host side strange behavior for v3.8 kernel. based on felipe/master branch Kuninori Morimoto (3): usb: renesas_usbhs: remove debug information from usbhsh_hub_status_data() usb: renesas_usbhs: use transfer counter if IN direction bul

[PATCH 1/3] usb: renesas_usbhs: remove debug information from usbhsh_hub_status_data()

2012-11-06 Thread Kuninori Morimoto
Because usbhsh_hub_status_data() will be called many times, there are too many obstructive/useless debug informations if driver has #define DEBUG. Thus, other important dev_dbg() information will hide. This patch removed obstructive/useless dev_dbg(). Signed-off-by: Kuninori Morimoto --- driver

[PATCH 2/3] usb: renesas_usbhs: use transfer counter if IN direction bulk pipe

2012-11-06 Thread Kuninori Morimoto
received data will break if it was bulk pipe and large data size, because pipe kept BUF PID even though it doesn't have enough buffer. To avoid this issue, renesas_usbhs can use transfer counter. Pipe PID will be NAK if it didn't have enough buffer by this patch. renesas_usbhs has strange address

[PATCH 3/3] usb: renesas_usbhs: host: add endpoint user counter

2012-11-06 Thread Kuninori Morimoto
renesas_usbhs attaches pipe to endpoint when urb was queued, and it will be detached when transfer was done. Multi device controlling was enabled by this behavior. Now renesas_usbhs driver tried to wait until detaching if urb was queued to endpoint which already has been attached to pipe, and it c

Re: [PATCH] hid: usbhid: add quirk for SB arena headset v2

2012-11-06 Thread Jiri Kosina
On Mon, 5 Nov 2012, Chris J Arges wrote: > >> When an SB Arena USB headset is plugged in, it registers the volume > >> keys on the headset as a keyboard and continually sends events causing > >> issues with normal keyboard input. This quirk disables the volume keys. > > > > I don't know how the d

[GIT PULL] USB fixes for v3.7-rc5

2012-11-06 Thread Felipe Balbi
Hi Greg, I have one extra fix for this -rc cycle. Hopefully this is the last one. Let me know if you prefer not to apply this build fix. cheers The following changes since commit f6bc8c29383456b89ac1b6f1aa768d195670fb53: usb: otg: Fix build errors if USB_MUSB_OMAP2PLUS is selected as module

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-11-06 Thread Felipe Balbi
On Sun, Nov 04, 2012 at 03:30:21PM +0100, Dmytro Milinevskyy wrote: > Convert USB descriptor's fields to CPU byte order before using locally in USB > NCM gadget driver. > Tested on MIPS32 big-endian device. > > Signed-off-by: Dmytro Milinevskyy doesn't apply: $ patch -p1 --dry-run < patch.diff

Re: [PATCHv2 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Felipe Balbi
Hi, On Fri, Nov 02, 2012 at 02:31:50PM +0100, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > The File-backed Storage Gadget (g_file_storage) is being removed, since > it has been replaced by Mass Storage Gadget (g_mass_storage). This commit > changes defconfigs point to the new gadget.

Re: [PATCHv2 2/6] usb: gadget: Remove File-backed Storage Gadget (g_file_storage).

2012-11-06 Thread Felipe Balbi
On Fri, Nov 02, 2012 at 02:31:51PM +0100, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > The File-backed Storage Gadget (g_file_storage) gadget has been replaced > with Mass Storage Gadget (g_mass_storage) which uses the composite > framework. This commit removes g_file_storage (and most

Re: [PATCH 2/3] usb: renesas_usbhs: use transfer counter if IN direction bulk pipe

2012-11-06 Thread Felipe Balbi
On Tue, Nov 06, 2012 at 12:11:43AM -0800, Kuninori Morimoto wrote: > received data will break if it was bulk pipe and large data size, > because pipe kept BUF PID even though it doesn't have enough buffer. > To avoid this issue, renesas_usbhs can use transfer counter. > Pipe PID will be NAK if it d

RE: [PATCH V3 3/4] usb: Create link files between child device and usb port device.

2012-11-06 Thread Lan, Tianyu
Hi Alan: Thanks for your review. I will update soon. Best Regards Tianyu Lan -Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Monday, November 05, 2012 10:55 PM To: Lan, Tianyu Cc: gre...@linuxfoundation.org; sarah.a.sh...@linux.intel.com;

Re: [PATCH v4 6/7] usb: dwc3-omap: Minor fixes to get dt working

2012-11-06 Thread Felipe Balbi
Hi, On Thu, Oct 25, 2012 at 08:24:09PM +0530, kishon wrote: > Hi Benoit, > > On Thursday 25 October 2012 07:11 PM, Benoit Cousson wrote: > >Hi Kishon, > > > >On 10/15/2012 03:27 PM, Kishon Vijay Abraham I wrote: > >>Includes few minor fixes in dwc3-omap like populating the compatible > >>string i

Re: [PATCH v4 0/7] usb: dwc3-omap: add dt support

2012-11-06 Thread Felipe Balbi
On Mon, Oct 15, 2012 at 06:57:53PM +0530, Kishon Vijay Abraham I wrote: > This patch series adds dt support to dwc3 core and fixes few minor > stuff in dwc3-omap glue to get dwc3 working. > > While at that it also uses *of_platform* to create the child device > (dwc3-core) and fixes to use runtime

Re: [PATCH] cppi_dma: export cppi_interrupt()

2012-11-06 Thread Sergei Shtylyov
Hello. On 06-11-2012 6:21, Greg KH wrote: Now that DaVinci glue layer can be modular, we must export cppi_interrupt() that it may call... Signed-off-by: Sergei Shtylyov Cc: sta...@vger.kernel.org # 3.0+ Why would we need to export this for such old kernels? I haven't heard of any build

Re: [GIT PULL] USB fixes for v3.7-rc5

2012-11-06 Thread Greg KH
On Tue, Nov 06, 2012 at 01:16:17PM +0200, Felipe Balbi wrote: > Hi Greg, > > I have one extra fix for this -rc cycle. Hopefully this is the last one. > > Let me know if you prefer not to apply this build fix. I'd prefer not, if at all possible. Patches to fix 'randconfig' breakage are very low

Re: [GIT PULL] USB fixes for v3.7-rc5

2012-11-06 Thread Felipe Balbi
Hi, On Tue, Nov 06, 2012 at 01:29:45PM +0100, Greg KH wrote: > On Tue, Nov 06, 2012 at 01:16:17PM +0200, Felipe Balbi wrote: > > Hi Greg, > > > > I have one extra fix for this -rc cycle. Hopefully this is the last one. > > > > Let me know if you prefer not to apply this build fix. > > I'd prefe

Re: [PATCH 4/5] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Felipe Balbi
On Fri, Nov 02, 2012 at 10:02:47PM +0530, Afzal Mohammed wrote: > OMAP2+ family of devices are now obtaining resources via DT, earlier > it was obtained from hwmod. Update binding document accrodingly, while > at it add example. > > Signed-off-by: Afzal Mohammed > --- > .../devicetree/bindings/u

Re: [PATCH v3 3/5] usbnet: smsc95xx: fix memory leak in smsc95xx_suspend

2012-11-06 Thread Steve Glendinning
On 6 November 2012 01:45, Ming Lei wrote: > This patch fixes memory leak in smsc95xx_suspend. Good spot, thanks! Note that check_warn_return just above your kfree can cause early return in the error case, which would still leak filter_mask, so we might want to explicitly expand that instance of

Re: [PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Felipe Balbi
Hi, On Mon, Oct 29, 2012 at 07:12:36PM +0530, Vivek Gautam wrote: > This patchset is based on the work by Praveen Paneri for > samsung-usbphy driver: > http://comments.gmane.org/gmane.linux.kernel.samsung-soc/12653 > > Changes from v2: > - Using "EXYNOS5_PHY_" as common prefix along with exact n

Re: [PATCH] usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove()

2012-11-06 Thread Felipe Balbi
On Wed, Oct 31, 2012 at 08:51:39PM +0530, Rajaram R wrote: > On Wed, Oct 31, 2012 at 8:00 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Oct 31, 2012 at 07:45:53PM +0530, Rajaram R wrote: > >> On Tue, Oct 23, 2012 at 11:42 AM, Wei Yongjun wrote: > >> > commit 65b3d52d02a558fbfe08e43688e15390c5ab

[ANNOUNCE] Queue empty

2012-11-06 Thread Felipe Balbi
Hi guys, this is just a quick note to let you know that I have nothing pending in my queue anymore. That means both fixes for this -rc (which is already too late for anyway) and code for v3.8 merge window. If I have missed anything, please resend with a subject such as 'PATCH/RESEND' so I know wh

Re: [PATCH 1/3] USB: EHCI: prepare to make ehci-hcd a library module

2012-11-06 Thread Felipe Balbi
On Thu, Nov 01, 2012 at 11:12:58AM -0400, Alan Stern wrote: > This patch (as1624) prepares ehci-hcd for being split up into a core > library and separate platform driver modules. A generic > ehci_hc_driver structure is created, containing all the "standard" > values, and a new mechanism is added w

Re: [PATCH v3 3/5] usbnet: smsc95xx: fix memory leak in smsc95xx_suspend

2012-11-06 Thread Ming Lei
On Tue, Nov 6, 2012 at 9:20 PM, Steve Glendinning wrote: > On 6 November 2012 01:45, Ming Lei wrote: >> This patch fixes memory leak in smsc95xx_suspend. > > Good spot, thanks! > > Note that check_warn_return just above your kfree can cause early > return in the error case, which would still leak

Re: [PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
Hi Balbi, On Tue, Nov 6, 2012 at 6:44 PM, Felipe Balbi wrote: > Hi, > > On Mon, Oct 29, 2012 at 07:12:36PM +0530, Vivek Gautam wrote: >> This patchset is based on the work by Praveen Paneri for >> samsung-usbphy driver: >> http://comments.gmane.org/gmane.linux.kernel.samsung-soc/12653 >> >> Chan

[PATCH v2] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Afzal Mohammed
OMAP2+ family of devices are now obtaining resources via DT, earlier it was obtained from hwmod. Update binding document accrodingly, while at it add example. Signed-off-by: Afzal Mohammed --- v2: node name changed to "usb" .../devicetree/bindings/usb/am33xx-usb.txt | 21 +

Re: [PATCH v3 3/5] usbnet: smsc95xx: fix memory leak in smsc95xx_suspend

2012-11-06 Thread Steve Glendinning
> BTW, I just saw the smsc95xx datasheet and the vendor's driver > source code, and found the chip supports runtime PM well > (remote wakeup on 'good packet' or link change), so do you > plan to implement that? Yes, I do plan to implement this. Note that this feature is only supported on some pro

Re: [PATCH v3 3/5] usbnet: smsc95xx: fix memory leak in smsc95xx_suspend

2012-11-06 Thread Ming Lei
On Tue, Nov 6, 2012 at 9:58 PM, Steve Glendinning wrote: >> BTW, I just saw the smsc95xx datasheet and the vendor's driver >> source code, and found the chip supports runtime PM well >> (remote wakeup on 'good packet' or link change), so do you >> plan to implement that? > > Yes, I do plan to impl

Re: [PATCH 4/5] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Afzal Mohammed
Hi Balbi, On Tuesday 06 November 2012 06:32 PM, Felipe Balbi wrote: On Fri, Nov 02, 2012 at 10:02:47PM +0530, Afzal Mohammed wrote: +Example: + +usb_otg_hs@4740 { this should be usb@4740. Updated version with the above change has been posted. Regards Afzal -- To unsubscribe fro

[PATCH v4 0/5] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
This patchset is based on the work by Praveen Paneri for samsung-usbphy driver: http://www.spinics.net/lists/linux-usb/msg73518.html Changes from v3: - Moved enums S5P_USB_PHY_DEVICE, S5P_USB_PHY_HOST from machine to file include/linux/usb/samsung_usb_phy.h as USB_PHY_TYPE_DEVICE and USB_PH

[PATCH v4 1/5] ARM: EXYNOS: Update & move usb-phy types to generic include layer

2012-11-06 Thread Vivek Gautam
Updating the names of usb-phy types to more generic names: USB_PHY_TYPE_DEIVCE & USB_PHY_TYPE_HOST; and further update its dependencies. Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- arch/arm/mach-exynos/setup-usb-phy.c |9 + arch/arm/mach-s5pv210/setup-usb-p

[PATCH 2/5] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-11-06 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Vivek Gautam Signed-off-by: Praveen Paneri --- arch/arm/mach-exynos/setup-usb-phy.c |2 +- arch/arm/mach-s3c64xx/setup-usb-phy.c| 18 +- arch/arm/

[PATCH v4 3/5] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-11-06 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm/mac

[PATCH v4 0/5] usbnet: avoiding access auto-suspended device

2012-11-06 Thread Ming Lei
Hi, This patchset avoids accessing auto-suspended device in ioctl path, which is generally triggered by some network utility(ethtool, ifconfig, ...) Most of network devices have the problem, but as discussed in the thread: http://marc.info/?t=13505486063&r=1&w=2 the problem should b

[PATCH v4 1/5] usbnet: introduce usbnet_{read|write}_cmd_nopm

2012-11-06 Thread Ming Lei
This patch introduces the below two helpers to prepare for solving the usbnet runtime PM problem, which may cause some network utilities (ifconfig, ethtool,...) touch a suspended device. usbnet_read_cmd_nopm() usbnet_write_cmd_nopm() The above two helpers should be called by usbne

[PATCH v4 2/5] usbnet: smsc75xx: apply the introduced usbnet_{read|write}_cmd_nopm

2012-11-06 Thread Ming Lei
This patch applies the introduced usbnet_read_cmd_nopm() and usbnet_write_cmd_nopm() in the callback of resume and suspend to avoid deadlock if USB runtime PM is considered into usbnet_read_cmd() and usbnet_write_cmd(). Cc: Steve Glendinning Signed-off-by: Ming Lei --- drivers/net/usb/smsc75xx.

[PATCH v4 4/5] USB: ehci-s5p: Add phy driver support

2012-11-06 Thread Vivek Gautam
Adding the phy driver to ehci-s5p. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ehci-s5p.c | 70 ++- 1 files changed, 49 insertions(+),

[PATCH v4 3/5] usbnet: smsc95xx: fix memory leak in smsc95xx_suspend

2012-11-06 Thread Ming Lei
This patch fixes memory leak in smsc95xx_suspend. Also, it isn't necessary to bother mm to allocate 8bytes/16byte, and we can use stack variable safely. Acked-By: Steve Glendinning Signed-off-by: Ming Lei --- drivers/net/usb/smsc95xx.c | 13 ++--- 1 file changed, 10 insertions(+), 3

[PATCH v4 4/5] usbnet: smsc95xx: apply the introduced usbnet_{read|write}_cmd_nopm

2012-11-06 Thread Ming Lei
This patch applies the introduced usbnet_read_cmd_nopm() and usbnet_write_cmd_nopm() in the callback of resume and suspend to avoid deadlock if USB runtime PM is considered into usbnet_read_cmd() and usbnet_write_cmd(). Cc: Steve Glendinning Signed-off-by: Ming Lei --- drivers/net/usb/smsc95xx.

[PATCH v4 5/5] usbnet: runtime wake up device before calling usbnet_{read|write}_cmd

2012-11-06 Thread Ming Lei
This patch gets the runtime PM reference count before calling usbnet_{read|write}_cmd, and puts it after completion of the usbnet_{read|write}_cmd, so that the usb control message can always be sent to one active device in the non-PM context. Signed-off-by: Ming Lei --- drivers/net/usb/usbnet.c

[PATCH v4 5/5] USB: ohci-exynos: Add phy driver support

2012-11-06 Thread Vivek Gautam
Adding the phy-driver to ohci-exynos. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ohci-exynos.c | 70 1 files changed, 49 insertions(

[PATCH/RESEND 0/2] usb: musb: am335x support part-2

2012-11-06 Thread Afzal Mohammed
Hi Balbi, This is a resend of remaining changes to get am335x usb working. These were sent on 31 Oct with subject, "usb: musb: dsps: fixes for -rc. First one restores capability to support at least one instance of musb. Without it, even a single instance can't be supported as change which is reve

[PATCH/RESEND 1/2] Revert "usb: musb: dsps: remove explicit NOP device creation"

2012-11-06 Thread Afzal Mohammed
This reverts commit d8c3ef256f88b7c6ecd673d03073b5645be9c5e4. Above mentioned change was made along with multi usb phy change and adding DT support for nop transceiver. But other two changes did not make it to mainline. This in effect makes dsps musb wrapper unusable even for single instance. Hen

[PATCH/RESEND 2/2] usb: musb: dsps: document dt bindings properly

2012-11-06 Thread Afzal Mohammed
DT bindings normally use '-' (hyphens) instead of '_' (underscore), driver has it the proper way, but binding documentation does not reflect it, fix it. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/usb/am33xx-usb.txt | 8 1 file changed, 4 insertions(+), 4 deletio

[PATCH] ARM: EXYNOS5250: Add support for USB 3.0 dwc3 controller

2012-11-06 Thread Vivek Gautam
Here we add the required support for device tree and further clocks and device reigster base address. Based on 'for-next' branch of linux-samsung tree. Tested with required driver DT patches for dwc3-exynos: http://www.spinics.net/lists/linux-usb/msg73857.html and USB 3.0 phy support patches: http

[PATCH] ARM: Exynos5250: Enabling dwc3-exynos driver

2012-11-06 Thread Vivek Gautam
Adding DWC3 device tree node for Exynos5250 along with the device address and clock support needed for the controller. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach-exynos/clock-exynos5.c| 24 arch/arm/mach-exy

Re: [PATCH 1/3] USB: EHCI: prepare to make ehci-hcd a library module

2012-11-06 Thread Alan Stern
On Tue, 6 Nov 2012, Felipe Balbi wrote: > On Thu, Nov 01, 2012 at 11:12:58AM -0400, Alan Stern wrote: > > This patch (as1624) prepares ehci-hcd for being split up into a core > > library and separate platform driver modules. A generic > > ehci_hc_driver structure is created, containing all the "s

[PATCH 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
This patchset is based on the work for USB 2.0 host phy support for exynos5250 https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-November/021915.html Based on 'usb-next' branch. Tested on smdk5250 with following patch-series: https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-Nove

[PATCH 1/2] USB: PHY: Add support for USB 3.0 phy for exynos5250

2012-11-06 Thread Vivek Gautam
Adding support for USB3.0 phy for dwc3 controller on exynso5250 SOC. Signed-off-by: Vivek Gautam --- drivers/usb/phy/samsung-usbphy.c| 337 +++ include/linux/usb/samsung_usb_phy.h |1 + 2 files changed, 338 insertions(+), 0 deletions(-) diff --git a/driv

[PATCH 2/2] ARM: Exynos5250: Enabling USB 3.0 phy for samsung-usbphy driver

2012-11-06 Thread Vivek Gautam
Adding base address information and required platform data support for enabling USB DRD phy on exynos5250 SOC. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250.dtsi|3 ++- arch/arm/mach-exynos/include/mach/regs-pmu.h |4 arch/arm/mach-exynos/setup-usb-phy.c

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Alan Stern
On Mon, 5 Nov 2012, Jason J. Herne wrote: > I have a Seagate ST3000DM 3.0TB Sata Drive enclosed in a Vantec > NexStar CX USB 3.0/2.0 Enclosure. This enclosure/drive is not > properly recognized by Linux when plugged in via a USB 2.0 port. My > dmesg output, at first, seems like all is well. but

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Jason J. Herne
Here is the pcap file, as captured from Wireshark. On Tue, Nov 6, 2012 at 10:46 AM, Alan Stern wrote: > On Mon, 5 Nov 2012, Jason J. Herne wrote: > >> I have a Seagate ST3000DM 3.0TB Sata Drive enclosed in a Vantec >> NexStar CX USB 3.0/2.0 Enclosure. This enclosure/drive is not >> properly reco

Re: [PATCH 1/3] USB: EHCI: prepare to make ehci-hcd a library module

2012-11-06 Thread Felipe Balbi
Hi On Tue, Nov 06, 2012 at 10:25:40AM -0500, Alan Stern wrote: > On Tue, 6 Nov 2012, Felipe Balbi wrote: > > > On Thu, Nov 01, 2012 at 11:12:58AM -0400, Alan Stern wrote: > > > This patch (as1624) prepares ehci-hcd for being split up into a core > > > library and separate platform driver modules.

Re: [PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Felipe Balbi
Hi, On Tue, Nov 06, 2012 at 07:23:12PM +0530, Vivek Gautam wrote: > Hi Balbi, > > > On Tue, Nov 6, 2012 at 6:44 PM, Felipe Balbi wrote: > > Hi, > > > > On Mon, Oct 29, 2012 at 07:12:36PM +0530, Vivek Gautam wrote: > >> This patchset is based on the work by Praveen Paneri for > >> samsung-usbphy

Re: [PATCH] ARM: Exynos5250: Enabling dwc3-exynos driver

2012-11-06 Thread Felipe Balbi
On Tue, Nov 06, 2012 at 08:58:49PM +0530, Vivek Gautam wrote: > Adding DWC3 device tree node for Exynos5250 along with the > device address and clock support needed for the controller. > > Signed-off-by: Vivek Gautam > --- > arch/arm/boot/dts/exynos5250.dtsi |6 ++ > arch/arm/mach-

Re: [PATCH v2] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Felipe Balbi
Hi, On Tue, Nov 06, 2012 at 07:26:06PM +0530, Afzal Mohammed wrote: > OMAP2+ family of devices are now obtaining resources via DT, earlier > it was obtained from hwmod. Update binding document accrodingly, while > at it add example. > > Signed-off-by: Afzal Mohammed this looks fine to me: Revi

Re: [PATCH v2] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Benoit Cousson
On 11/06/2012 05:44 PM, Felipe Balbi wrote: > Hi, > > On Tue, Nov 06, 2012 at 07:26:06PM +0530, Afzal Mohammed wrote: >> OMAP2+ family of devices are now obtaining resources via DT, earlier >> it was obtained from hwmod. Update binding document accrodingly, while >> at it add example. >> >> Signed

Re: Fresco Logic Problem

2012-11-06 Thread Sarah Sharp
On Tue, Nov 06, 2012 at 11:03:10AM +0330, A Sh wrote: > > So you patched 3.2 with the patch I sent you, and it worked? > > yes, I did. Ok, great, I will send that patch upstream. > > You mean this one? > > >> I had also a suggestion: > >> make xhci module work in three mode: > >> 1. without msi

Re: Force usb to use same port number for re/boot or re insert

2012-11-06 Thread Sarah Sharp
Ok, I don't understand what you're trying to do, and it doesn't really sound like a kernel question. Why not ask on Stack Overflow or some other Android forum? Sarah Sharp On Fri, Nov 02, 2012 at 07:55:27AM +0530, $rik@nth wrote: > Server will run on the device port only. so that's why i wanted

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Alan Stern
On Tue, 6 Nov 2012, Jason J. Herne wrote: > Here is the pcap file, as captured from Wireshark. > > On Tue, Nov 6, 2012 at 10:46 AM, Alan Stern wrote: > > On Mon, 5 Nov 2012, Jason J. Herne wrote: > > > >> I have a Seagate ST3000DM 3.0TB Sata Drive enclosed in a Vantec > >> NexStar CX USB 3.0/2.0

Re: [PATCH v2] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Felipe Balbi
Hi, On Tue, Nov 06, 2012 at 05:58:57PM +0100, Benoit Cousson wrote: > On 11/06/2012 05:44 PM, Felipe Balbi wrote: > > Hi, > > > > On Tue, Nov 06, 2012 at 07:26:06PM +0530, Afzal Mohammed wrote: > >> OMAP2+ family of devices are now obtaining resources via DT, earlier > >> it was obtained from hwm

Re: [PATCHv2 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Tony Lindgren
* Felipe Balbi [121106 03:40]: > Hi, > > On Fri, Nov 02, 2012 at 02:31:50PM +0100, Michal Nazarewicz wrote: > > From: Michal Nazarewicz > > > > The File-backed Storage Gadget (g_file_storage) is being removed, since > > it has been replaced by Mass Storage Gadget (g_mass_storage). This commit

Re: [PATCHv2 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Tony Lindgren
* Tony Lindgren [121106 10:41]: > * Felipe Balbi [121106 03:40]: > > Hi, > > > > On Fri, Nov 02, 2012 at 02:31:50PM +0100, Michal Nazarewicz wrote: > > > From: Michal Nazarewicz > > > > > > The File-backed Storage Gadget (g_file_storage) is being removed, since > > > it has been replaced by Ma

[PATCH] HID: Ignore D-WAV/eGalax devices handled by usbtouchscreen

2012-11-06 Thread Forest Bond
From: Forest Bond Previously, both usbhid and usbtouchscreen would bind to D-WAV devices with class HID and protocol None, so they would be claimed by whichever driver was loaded first. Some of these devices do in fact work with usbhid, but not all of them do. OTOH they all work with usbtouchsc

Re: [PATCH 1/3] usb: musb: drop useless board_mode usage

2012-11-06 Thread Sergei Shtylyov
Hello. On 08/09/2012 12:47 PM, Felipe Balbi wrote: >>> we are compiling the driver always with full OTG >>> capabilities, so that board_mode trick becomes >>> useless. >>> Signed-off-by: Felipe Balbi >>> --- >>> I would like to get Acks from blackfin, da8xx and davinci guys, please. >>Afte

Re: [PATCHv2 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Felipe Balbi
Hi, On Tue, Nov 06, 2012 at 10:42:27AM -0800, Tony Lindgren wrote: > * Tony Lindgren [121106 10:41]: > > * Felipe Balbi [121106 03:40]: > > > Hi, > > > > > > On Fri, Nov 02, 2012 at 02:31:50PM +0100, Michal Nazarewicz wrote: > > > > From: Michal Nazarewicz > > > > > > > > The File-backed Stor

Re: [PATCHv2 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Tony Lindgren
* Felipe Balbi [121106 12:40]: > Hi, > > On Tue, Nov 06, 2012 at 10:42:27AM -0800, Tony Lindgren wrote: > > * Tony Lindgren [121106 10:41]: > > > * Felipe Balbi [121106 03:40]: > > > > Hi, > > > > > > > > On Fri, Nov 02, 2012 at 02:31:50PM +0100, Michal Nazarewicz wrote: > > > > > From: Michal

[PATCH 0/2] Fix CDC_EEM with 802.1Q VLAN and 1500 MTU

2012-11-06 Thread Ian Coolidge
cdc_eem USB host driver and gadget driver both are broken in 1500 MTU case when using 802.1Q VLANs. In both cases, this is due to incomplete assumptions of Ethernet frame size. Ian Coolidge (2): usb: gadget: g_ether: fix frame size check net: usb: cdc_eem: Fix rx skb allocation for 802.1Q VLAN

[PATCH 1/2] usb: gadget: g_ether: fix frame size check

2012-11-06 Thread Ian Coolidge
Checking skb->len against ETH_FRAME_LEN assumes a 1514 ethernet frame size. With an 802.1Q VLAN header, ethernet frame length can now be 1518. Validate frame length against that. Signed-off-by: Ian Coolidge --- drivers/usb/gadget/u_ether.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion

[PATCH 2/2] net: usb: cdc_eem: Fix rx skb allocation for 802.1Q VLANs

2012-11-06 Thread Ian Coolidge
cdc_eem frames might need to contain 802.1Q VLAN Ethernet frames. Provide this information as an override to usbnet->rx_urb_size Signed-off-by: Ian Coolidge --- drivers/net/usb/cdc_eem.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/usb/cdc_eem.c b/drive

[PATCHv3 0/6] Some USB gadget cleanups

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz v2 has the first patch fixed as pointed by Alan. This patchset remove the following: - the File-backed Storage Gadget (g_file_storage), and - is_dualspeed file and line referenced in sysfs. Once g_file_storage is removed, it also does some cleanup inside of the storage_c

[PATCHv3 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz The File-backed Storage Gadget (g_file_storage) is being removed, since it has been replaced by Mass Storage Gadget (g_mass_storage). This commit changes defconfigs point to the new gadget. Signed-off-by: Michal Nazarewicz Acked-by: Nicolas Ferre (fort AT91) Acked-by:

[PATCHv3 3/6] usb: gadget: storage_common: Remove FSG specific definitions.

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz Since g_file_storage has been removed, this commit removes code from the storage_common.c file which has been used by file_storage.c only (and not by f_mass_storage.c). Signed-off-by: Michal Nazarewicz --- drivers/usb/gadget/storage_common.c | 28 -

[PATCHv3 4/6] usb: gadget: storage_common: Drop #ifdefs used for the sake of FSG.

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz storage_common.c has been used by both file_storage.c and f_mass_storage.c which had some different requirements in a few places. To accomodate for that, storage_common.c provided configuratian macros which were to be defined (or not) prior to the file #inclusion. Becaus

[PATCHv3 5/6] usb: gadget: storage_common: Make fsg_lun_is_open() a function.

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz Since function-line macros are to be avoided, this commit replaces the fsg_lun_is_open() macro with a static inline function. While at it, this commit also adds “inline” modifier to the fsg_lun_from_dev() function. Signed-off-by: Michal Nazarewicz --- drivers/usb/gadge

[PATCHv3 6/6] usb: gadget: Remove reference to is_dualspeed from sysfs.

2012-11-06 Thread Michal Nazarewicz
From: Michal Nazarewicz This commit removes the /sys/devices/platform//udc//is_dualspeed file and is_dualspeeed line from /sys/devices/platform/ci13xxx_*/udc/device file. The is_dualspeed file is superseded by maximum_speed in the same directory and is_dualspeed line in device file is superseded

Re: generic wireless mouse not working

2012-11-06 Thread Marco Biscaro
Is that sufficient? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1021019/comments/42 Em 05-09-2012 04:23, Oliver Neukum escreveu: On Tuesday 04 September 2012 20:01:33 Marco Biscaro wrote: Hello all, I've opened a bug report about a wireless mouse problem [1], and Greg Kroah-Hartman t

Re: HDD spins up to slow for USB and/or Mass-Storage Driver

2012-11-06 Thread Sarah Sharp
On Fri, Nov 02, 2012 at 10:42:19AM -0400, Alan Stern wrote: > On Thu, 1 Nov 2012, Matthias Schniedermeyer wrote: > > > > Okay, Matthias, here's an updated version of that patch. The only > > > difference is that it puts the usb_hcd_alloc_bandwidth() call _before_ > > > the usb_disable_interface

Re: autodetect USB MTP device characteristics without libusb_open()

2012-11-06 Thread Linus Walleij
On Mon, Nov 5, 2012 at 11:31 PM, Bjørn Mork wrote: > Linus Walleij writes: > Excuse my lack of knowlegde here, but I have to ask why that is? > > I looked briefly at the MTP v1.1 spec from So all MTP devices manufactured before that spec, and numerous produced after that spec came out, and seve

Re: problem with Roseweil eusb3 enclosure

2012-11-06 Thread Sarah Sharp
On Sat, Nov 03, 2012 at 02:51:36AM -0400, cov...@ccs.covici.com wrote: > OK, increasing the buffer size gives me the full syslog, which is > enclosed. I am not sending the dmesg because I think we have it all > now. Thanks, that helped. Your port is coming up in compliance mode shortly after it'

Re: [PATCH v4 0/6] solve deadlock caused by memory allocation with I/O

2012-11-06 Thread Andrew Morton
On Sat, 3 Nov 2012 16:35:08 +0800 Ming Lei wrote: > This patchset try to solve one deadlock problem which might be caused > by memory allocation with block I/O during runtime PM and block device > error handling path. Traditionly, the problem is addressed by passing > GFP_NOIO statically to mm,

Re: [PATCH v4 1/6] mm: teach mm by current context info to not do I/O during memory allocation

2012-11-06 Thread Andrew Morton
On Sat, 3 Nov 2012 16:35:09 +0800 Ming Lei wrote: > This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of > 'struct task_struct'), so that the flag can be set by one task > to avoid doing I/O inside memory allocation in the task's context. > > The patch trys to solve one deadl

Re: [PATCH v4 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-06 Thread Andrew Morton
On Sat, 3 Nov 2012 16:35:10 +0800 Ming Lei wrote: > The patch introduces the flag of memalloc_noio in 'struct dev_pm_info' > to help PM core to teach mm not allocating memory with GFP_KERNEL > flag for avoiding probable deadlock. > > As explained in the comment, any GFP_KERNEL allocation inside

Re: [PATCH v4 3/6] block/genhd.c: apply pm_runtime_set_memalloc_noio on block devices

2012-11-06 Thread Andrew Morton
On Sat, 3 Nov 2012 16:35:11 +0800 Ming Lei wrote: > This patch applyes the introduced pm_runtime_set_memalloc_noio on > block device so that PM core will teach mm to not allocate memory with > GFP_IOFS when calling the runtime_resume and runtime_suspend callback > for block devices and its ances

Re: autodetect USB MTP device characteristics without libusb_open()

2012-11-06 Thread Bjørn Mork
Linus Walleij writes: > On Mon, Nov 5, 2012 at 11:31 PM, Bjørn Mork wrote: >> Linus Walleij writes: > >> Excuse my lack of knowlegde here, but I have to ask why that is? >> >> I looked briefly at the MTP v1.1 spec from > > So all MTP devices manufactured before that spec, and numerous produced >

Re: [PATCH 1/2] USB: PHY: Add support for USB 3.0 phy for exynos5250

2012-11-06 Thread Sylwester Nawrocki
Hi, I have a few comments. Please see below... On 11/06/2012 04:36 PM, Vivek Gautam wrote: Adding support for USB3.0 phy for dwc3 controller on exynso5250 SOC. exynso -> exynos Signed-off-by: Vivek Gautam --- drivers/usb/phy/samsung-usbphy.c| 337 +++

How-to start reverse engineering serial communication

2012-11-06 Thread Markus Kolb
Hello, I've a bike computer SIGMA ROX 9.1 which can be connected via a small USB docking station to retrieve the collected data. However there is a proprietary software called "Data Center" (DaCe) which is not available for Linux and doesn't run with Wine. At least it doesn't find the connecte

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Jason J. Herne
I was comparing the two USB captures and I noticed the Windows capture uses a READ(16) and Linux is using a READ(10). I'm not sure how the kernel determines which read command to use, but I'm wondering if this could be the problem here? I was way wrong about the first read being in the 700's btw

[PATCH 2/3 v2] usb: renesas_usbhs: use transfer counter if IN direction bulk pipe

2012-11-06 Thread Kuninori Morimoto
received data will break if it was bulk pipe and large data size, because pipe kept BUF PID even though it doesn't have enough buffer. To avoid this issue, renesas_usbhs can use transfer counter. Pipe PID will be NAK if it didn't have enough buffer by this patch. renesas_usbhs has strange address

Re: How-to start reverse engineering serial communication

2012-11-06 Thread Bjørn Mork
Markus Kolb writes: > I've a bike computer SIGMA ROX 9.1 which can be connected via a small > USB docking station to retrieve the collected data. [snip] > But I don't see how to interpret the data. > > So do you have any idea how to go on? Not really, but googling the device brought me this: htt

Re: problem with Roseweil eusb3 enclosure

2012-11-06 Thread covici
Thanks much -- should I leave the previous patch in? Sarah Sharp wrote: > On Sat, Nov 03, 2012 at 02:51:36AM -0400, cov...@ccs.covici.com wrote: > > OK, increasing the buffer size gives me the full syslog, which is > > enclosed. I am not sending the dmesg because I think we have it all > > now.

Re: [PATCHv3 1/6] arch: Change defconfigs to point to g_mass_storage.

2012-11-06 Thread Hans-Christian Egtvedt
Around Tue 06 Nov 2012 22:52:35 +0100 or thereabout, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > The File-backed Storage Gadget (g_file_storage) is being removed, since > it has been replaced by Mass Storage Gadget (g_mass_storage). This commit > changes defconfigs point to the new ga

Re: How-to start reverse engineering serial communication

2012-11-06 Thread Markus Kolb
Bjørn Mork wrote on 07.11.2012 01:17: Markus Kolb writes: I've a bike computer SIGMA ROX 9.1 which can be connected via a small USB docking station to retrieve the collected data. [snip] But I don't see how to interpret the data. So do you have any idea how to go on? Not really, but googl

Re: autodetect USB MTP device characteristics without libusb_open()

2012-11-06 Thread Peter Stuge
Hej Linus! Linus Walleij wrote: > - some devices bug out on libusb_open() Please send me a debug log from when this happens. Exact steps are at http://libusb.org/wiki/debug > I have added code like below to libmtp to instead inspect sysfs > *before* starting any libusb-based business. .. > - Is

Re: [PATCH v4 1/6] mm: teach mm by current context info to not do I/O during memory allocation

2012-11-06 Thread Ming Lei
On Wed, Nov 7, 2012 at 7:23 AM, Andrew Morton wrote: > > It's unclear from the description why we're also clearing __GFP_FS in > this situation. > > If we can avoid doing this then there will be a very small gain: there > are some situations in which a filesystem can clean pagecache without > perf

Re: [PATCH v4 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-06 Thread Ming Lei
On Wed, Nov 7, 2012 at 7:24 AM, Andrew Morton wrote: > > checkpatch finds a number of problems with this patch, all of which > should be fixed. Please always use checkpatch. Sorry for missing the check. >> + /* only clear the flag for one device if all >> + * children o

Re: [PATCH v4 0/6] solve deadlock caused by memory allocation with I/O

2012-11-06 Thread Ming Lei
On Wed, Nov 7, 2012 at 7:23 AM, Andrew Morton wrote: > > It generally looks OK to me. I have a few comments and I expect to grab > v5. Andrew, thanks for your review, and I will prepare -v5 later. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the

Re: [PATCH v4 1/6] mm: teach mm by current context info to not do I/O during memory allocation

2012-11-06 Thread Andrew Morton
On Wed, 7 Nov 2012 11:11:24 +0800 Ming Lei wrote: > On Wed, Nov 7, 2012 at 7:23 AM, Andrew Morton > wrote: > > > > It's unclear from the description why we're also clearing __GFP_FS in > > this situation. > > > > If we can avoid doing this then there will be a very small gain: there > > are som

Re: [PATCH v4 1/6] mm: teach mm by current context info to not do I/O during memory allocation

2012-11-06 Thread Ming Lei
On Wed, Nov 7, 2012 at 11:48 AM, Andrew Morton wrote: >> >> Firstly, the patch follows the policy in the system suspend/resume >> situation, >> in which the __GFP_FS is cleared, and basically the problem is very similar >> with that in system PM path. > > I suspect that code is wrong. Or at lea

Re: generic wireless mouse not working

2012-11-06 Thread Greg KH
On Tue, Nov 06, 2012 at 08:23:43PM -0200, Marco Biscaro wrote: > Is that sufficient? > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1021019/comments/42 Not in the slightest. Especially as there is no such thing as "public domain". Please read Documentation/SubmittingPatches for what is

  1   2   >