Re: [PATCH v3 1/2] i2c: Add driver for Cadence I2C controller

2014-04-03 Thread Michal Simek
On 04/03/2014 09:10 AM, Wolfram Sang wrote: > > Please don't quote large parts of the message f you are not referring to > it. Normally I do it. Forgot sorry. >>> +#ifdef CONFIG_PM_SLEEP >>> +/** >>> + * cdns_i2c_suspend - Suspend method for the driver >>> + * @_dev: Address of the platform_dev

[GIT PULL] GPIO bulk changes for v3.15

2014-04-03 Thread Linus Walleij
Hi Linus, this is the bulk of GPIO changes for the v3.15 merge window. Note: - This tree has pulled in an immutable branch with some irqchip infrastructure from Thomas Gleixner. This stuff is already in your tree coming in from tip. However as this pull request is based on v3.14-rc6 you wi

[patch] irqchip/irq-crossbar: not allocating enough memory

2014-04-03 Thread Dan Carpenter
We are allocating the size of a pointer and not the size of the data. This will lead to memory corruption. There isn't actually a "cb_device" struct, btw. The code is only able to compile because GCC knows that all pointers are the same size. Fixes: 96ca848ef7ea ('DRIVERS: IRQCHIP: CROSSBAR: Add

Re: [PATCH regression] net: phy: fix initialization (config_init) for Marvel 88E1116R PHYs

2014-04-03 Thread Alexander Holler
Am 03.04.2014 00:27, schrieb Sebastian Hesselbarth: On 04/03/2014 12:12 AM, Alexander Holler wrote: I am curious, how you determined above commit to be the cause of the regression you are seeing. Can you bisect, if you didn't already? There was no bisecting necessary. I've just looked at wha

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-04-03 Thread Hongbo Zhang
On 04/03/2014 12:35 AM, Vinod Koul wrote: On Mon, Mar 31, 2014 at 12:08:55PM +0800, Hongbo Zhang wrote: On 03/29/2014 09:45 PM, Vinod Koul wrote: On Fri, Mar 28, 2014 at 02:33:37PM +0800, Hongbo Zhang wrote: On 03/26/2014 03:01 PM, Vinod Koul wrote: On Thu, 2014-01-16 at 13:47 +0800, hongbo.

[PATCH 8/9] driver: staging: wlan-ng: Removed multiple assignments

2014-04-03 Thread Sherif Shehab Aldin
Removed multiple assignments from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 64b51b7..777b

[PATCH 9/9] driver: staging: wlan-ng: Removed #if 0 lines from hfa384x_usb.c

2014-04-03 Thread Sherif Shehab Aldin
Removed lines that were ignored by #if 0 Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 777b1e7..4e9df48 100644 --- a/driv

[PATCH 4/9] driver: staging: wlan-ng: Setting character pointers as const

2014-04-03 Thread Sherif Shehab Aldin
changed declaration of ctlx_str to: static const char * const ctlx_str[] Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_us

[PATCH 3/9] driver: staging: wlan-ng: switched to pr_warn

2014-04-03 Thread Sherif Shehab Aldin
changed printk(KERN_WARNING .. to pr_warn Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 2a44c79..a389c

[PATCH 6/9] driver: staging: wlan-ng: Fixed Alignment to match open parenthesis

2014-04-03 Thread Sherif Shehab Aldin
Fixed Alignment to match open parenthesis in hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 113 + 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/stagi

[PATCH 7/9] driver: staging: wlan-ng: Fixed white spaces issues

2014-04-03 Thread Sherif Shehab Aldin
In hfa384x_usb.c: Fixed allignment issues after open braces Moved Logical continuations to the correct lines Removed unnecessary blank lines Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 32 ++-- 1 file changed, 14 insertions(+), 18

[PATCH 5/9] driver: staging: wlan-ng: Removed Unnecessary space after function pointer name

2014-04-03 Thread Sherif Shehab Aldin
Removed Unnecessary space after function pointer name Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 65e59a3..

[RESEND] drivercore: deferral race condition fix

2014-04-03 Thread Peter Ujfalusi
When the kernel is built with CONFIG_PREEMPT it is possible to reach a state when all modules loaded but some driver still stuck in the deferred list and there is a need for external event to kick the deferred queue to probe these drivers. The issue has been observed on embedded systems with CONFI

[PATCH 2/9] driver: staging: wlan-ng: Removed unnecessary typedefs from hfa384x_usb.c

2014-04-03 Thread Sherif Shehab Aldin
Removed unnecessary typedefs from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 38 - 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/

[PATCH 1/9] driver: staging: wlan-ng: Fixed Breaking long lines and strings style rule

2014-04-03 Thread Sherif Shehab Aldin
Fixed coding style rule "Breaking long lines and strings" for hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 52 - 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c

Re: [PATCH v3 1/2] i2c: Add driver for Cadence I2C controller

2014-04-03 Thread Wolfram Sang
Please don't quote large parts of the message f you are not referring to it. > > +#ifdef CONFIG_PM_SLEEP > > +/** > > + * cdns_i2c_suspend - Suspend method for the driver > > + * @_dev: Address of the platform_device structure > > + * Return: 0 always > > + * > > + * Put the driver into low powe

Re: [PATCH 1/4] workqueue: Move workqueue bus attr to device attribute

2014-04-03 Thread Viresh Kumar
Nothing much, just some nitpicks :) On 27 March 2014 22:50, Frederic Weisbecker wrote: > A workqueue directory implements at least two files: max_active and > per_cpu. Since thse are constant over WQ_SYSFS workqueues, they are s/thse/these > implemented as bus attributes. > diff --git a/kernel

Re: USB autosuspend causing trouble on Intel bluetooth (Linux 3.14)

2014-04-03 Thread Johan Hedberg
Hi Thomas, On Thu, Apr 03, 2014, Thomas Bächler wrote: > > You can easily check by running the "Inquiry (LIAC)” test from > > tools/hci-tester. Problem is that some of the HCI events are not > > making it to the host. They get delivered as soon as the device > > wakes up again. In this test case i

Re: [PATCH 3/4] workqueue: Add anon workqueue sysfs hierarchy

2014-04-03 Thread Viresh Kumar
On 27 March 2014 22:51, Frederic Weisbecker wrote: > diff --git a/kernel/workqueue.c b/kernel/workqueue.c > static int __init wq_sysfs_init(void) > { > - return subsys_virtual_register(&wq_subsys, NULL); > + struct device *anon_dev; > + int ret; > + > + ret = subsys_virt

Re: drm/i915: XPS13 backlight regression in v3.14

2014-04-03 Thread Jani Nikula
On Thu, 03 Apr 2014, James Hogan wrote: > Hi, > > I've noticed that v3.14 breaks the backlight on Dell XPS13. Reverting the > following commit fixes the issue for me (i.e. the GUI brightness controls > work > again): > > bc0bb9fd1c78 drm/i915: remove QUIRK_NO_PCH_PWM_ENABLE > > It appears that

Re: [HELP] How to use ftrace to learn how a function is ivoked?

2014-04-03 Thread Li, Aubrey
On 2014/4/3 14:36, Du, ChangbinX wrote: > Hi, All, > I have a question for ftrace usage. It is that if I have a function A, then I > want to > know how function A is ivoked? > I know ftrace can show me what sub-functions that A called by below steps: > # echo function_graph > current_tracer

RE: [PATCHv2 2/3] regmap: Add the DT binding documentation for endianness

2014-04-03 Thread li.xi...@freescale.com
> Subject: Re: [PATCHv2 2/3] regmap: Add the DT binding documentation for > endianness > > On Wed, Apr 02, 2014 at 06:09:08PM +0800, Xiubo Li wrote: > > > +sai2: sai@40031000 { > > + compatible = "fsl,vf610-sai"; > > + reg = <0x40031000 0x1000>; > > + ... > > + val

Re: [PATCH 1/2] nohz: use seqlock to avoid race on idle time stats v2

2014-04-03 Thread Hidetoshi Seto
(2014/04/03 4:35), Denys Vlasenko wrote: > On Mon, Mar 31, 2014 at 4:08 AM, Hidetoshi Seto > wrote: >> There are 2 problems: >> >> [PROBLEM 1]: there is no exclusive control. >> >> It is easy to understand that there are 2 different cpu - an >> observing cpu where running a program observing idle

<    2   3   4   5   6   7