[PATCH] uhci-platform: use devm_ioremap resource

2014-06-08 Thread Himangi Saraogi
This patch replaces the memory allocation using request_mem_region and the ioremap by a single call to managed interface devm_ioremap_reource. The corresponding calls to release_mem_region and iounmap in the probe and release functions are now unnecessary and are removed. Also a label is done away

[PATCH] usb: host: uhci-grlib.c : use devm_ functions

2014-06-08 Thread Himangi Saraogi
The various devm_ functions allocate memory that is released when a driver detaches. This patch uses devm_ioremap_resource for data that is allocated in the probe function of a platform device and is only freed in the remove function. The corresponding free functions are removed and two labels are

Re: [PATCH] usb: host: uhci-grlib.c : use devm_ functions

2014-06-08 Thread Sam Ravnborg
On Sun, Jun 08, 2014 at 01:42:13PM +0530, Himangi Saraogi wrote: > The various devm_ functions allocate memory that is released when a > driver detaches. This patch uses devm_ioremap_resource for data > that is allocated in the probe function of a platform device and > is only freed in the remove f

Re: [PATCH net-next v2 00/12] cdc_ncm: add buffer tuning and stats using ethtool

2014-06-08 Thread Ben Hutchings
On Mon, 2014-05-19 at 09:36 +0200, Bjørn Mork wrote: > Lars Melin writes: > > > Your target audience is embedded systems with limited cpu power and > > buffer memory, right? > > If so, then you can't expect them to have ethtool included and their > > developers are not likely to be happy over hav

Re: non-working UVC device 058f:5608

2014-06-08 Thread Laurent Pinchart
Hi Johannes, On Saturday 07 June 2014 23:51:43 Johannes Berg wrote: > I just obtained a new (special-purpose) webcam, and it doesn't seem to > work at all. On kernel torvals/linux.git next branch, it doesn't even > really connect, on 3.13 (which I'm running on my laptop) I get errors > like this:

Re: [PATCH 1/4] phy: Add provision for calibrating phy.

2014-06-08 Thread Pratyush Anand
On Fri, Jun 06, 2014 at 08:12:12PM +0800, Vivek Gautam wrote: > Some PHY controllers may need to calibrate certain > PHY settings after initialization of the controller and > sometimes even after initializing the PHY-consumer too. > Add support for the same in order to let consumers do so in need.

Re: [PATCH 1/2] usb: ohci-exynos: Use NULL instead of 0

2014-06-08 Thread Jingoo Han
On Friday, June 06, 2014 5:44 PM, Sachin Kamat wrote: > > The third argument of devm_of_phy_get expects a pointer. > Hence use NULL instead of 0. > > Signed-off-by: Sachin Kamat Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/usb/host/ohci-exynos.c |2 +- > 1 file changed,

Re: [PATCH 2/2] usb: ehci-exynos: Use NULL instead of 0

2014-06-08 Thread Jingoo Han
On Friday, June 06, 2014 5:44 PM, Sachin Kamat wrote: > > The third argument of devm_of_phy_get expects a pointer. > Hence use NULL instead of 0. Fixes the following warning: > drivers/usb/host/ehci-exynos.c:91:51: warning: Using plain integer as NULL > pointer > > Signed-off-by: Sachin Kamat

Re: [Patch V3 0/2] usb: gadget: zero: Add support for interrupt EP

2014-06-08 Thread Amit Virdi
Felipe, Alan, On 5/23/2014 12:01 PM, Amit VIRDI wrote: This patchset adds support for interrupt EP and the corresponding test cases to gadget zero. The code has been rebased and tested on Kernel v3.15-rc5 V2 -> V3 - Rectified wMaxPacketSize for FS from 1023 to 64 - Modified default value of

Re: [PATCH 0/9] ARM: Berlin: USB support

2014-06-08 Thread Peter Chen
On Thu, Jun 05, 2014 at 05:48:37PM +0200, Antoine Ténart wrote: > This series adds the support for the Marvell Berlin USB controllers, > the USB PHYs and also adds a reset controller. > > The reset controller is used by the USB PHY driver and shares the > existing chip controller node with the clo

Re: [PATCH v2] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-08 Thread Yang,Wei
Hi Alan, Sorry for my late response, as I was 000, Additionally, I am very grateful for your review. On 06/06/2014 02:08 AM, Alan Stern wrote: On Wed, 4 Jun 2014 wei.y...@windriver.com wrote: From: Yang Wei While loading g_mass_storage module, the following warning is triggered. WARNING:

[PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-08 Thread Wei.Yang
From: Yang Wei While loading g_mass_storage module, the following warning is triggered. WARNING: at drivers/usb/gadget/composite.c: usb_composite_setup_continue: Unexpected call Modules linked in: fat vfat minix nls_cp437 nls_iso8859_1 g_mass_storage [<800179cc>] (unwind_backtrace+0x0/0x104) fro