[PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-25 Thread Andrew Schwartzmeyer
This adds support for reporting the combined channels count of the hv_netvsc driver via 'ethtool --show-channels'. Signed-off-by: Andrew Schwartzmeyer --- drivers/net/hyperv/netvsc_drv.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/hyperv/netvsc_drv.c b

Re: [PATCH v4 11/20] power_supply: Change ownership from driver to core

2015-02-25 Thread Darren Hart
On Thu, Feb 26, 2015 at 01:45:22AM +0100, Sebastian Reichel wrote: > Hi, > > On Mon, Feb 23, 2015 at 12:47:32PM +0100, Krzysztof Kozlowski wrote: > > Change the ownership of power_supply structure from each driver > > implementing the class to the power supply core. > > > > The patch changes powe

Re: [PATCH v4 11/20] power_supply: Change ownership from driver to core

2015-02-25 Thread Sebastian Reichel
Hi, On Mon, Feb 23, 2015 at 12:47:32PM +0100, Krzysztof Kozlowski wrote: > Change the ownership of power_supply structure from each driver > implementing the class to the power supply core. > > The patch changes power_supply_register() function thus all drivers > implementing power supply class a

[PATCH 7/7] staging: comedi: cb_pcimdas: add 8254 timer (pacer) support

2015-02-25 Thread H Hartley Sweeten
The hardware has an 8254 timer/counter. Channe; 0 is available as a generic counter/timer with the clock, gate, and output signals all availabe on the main 37 pin connector. Channels 1 and 2 are used for the pacer. Add support for the 8254 timer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott

[PATCH 6/7] staging: comedi: cb_pcimdas: add main connector digital input/output

2015-02-25 Thread H Hartley Sweeten
Add subdevices for the 4 digital input and 4 digital output channels on the main connector of the board. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/cb_pcimdas.c | 50 - 1 file changed, 49 insertions(+),

[PATCH 0/7] staging: comedi: cb_pcimdas: enhance driver

2015-02-25 Thread H Hartley Sweeten
Fix the analog input subdevice single-ended/differential channel configuration and add support for the programmable ranges. Define, and use, the register map to remove the "magic" numbers. Provide a range table for the analog output subdevice. Tidy up the (*auto_attach) and add subdevices for th

[PATCH 5/7] staging: comedi: cb_pcimdas: tidy up cb_pcimdas_auto_attach()

2015-02-25 Thread H Hartley Sweeten
For aesthetics, add some whitespace to the subdevice init. Remove the unnecessary comments as well as the initialization of the analog input subdevice 'len_chanlist'. That member is only used by subdevices that support async commands. For aesthetics, rename the analog input subdevice (*insn_read)

[PATCH 2/7] staging: comedi: cb_pcimdas: support analog input programmable ranges

2015-02-25 Thread H Hartley Sweeten
The hardware uses a switch on the board to select if the analog inputs are bipolar or uinipolar. The gain is programmable to allow the following input ranges: Gain Bipolar Unipolar 0 +/-10V0 to 10V 1 +/-5V 0 to 5V 2 +/-2.5V 0 to 2.5V 3 +/-1.25V 0 to 1.25V A

[PATCH 3/7] staging: comedi: cb_pcimdas: define the register map

2015-02-25 Thread H Hartley Sweeten
Add defines for the registers and bits. Use the defines to remove the "magic" numbers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/cb_pcimdas.c | 133 ++-- 1 file changed, 86 insertions(+), 47 deletions(-) d

[PATCH 4/7] staging: comedi: cb_pcimdas: provide analog output range table

2015-02-25 Thread H Hartley Sweeten
The analog output range is not programmable. The DAC ranges are jumper-settable on the board. For aesthetics, provide a range table for the user with all possible ranges. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/cb_pcimdas.c | 16

[PATCH 1/7] staging: comedi: cb_pcimdas: fix analog input channel configuration

2015-02-25 Thread H Hartley Sweeten
The hardware uses a switch on the board to set the number of analog input channels to either 16 single-ended or 8 differential channels. Currently the switch setting is checked for every (*insn_read) operation to validate the channel number. Check the switch setting during the driver attach and in

RE: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, February 25, 2015 8:56 AM > To: KY Srinivasan > Cc: de...@linuxdriverproject.org; Haiyang Zhang; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: Re: [PATCH 1/2] Drivers: hv: hv_balloon: re

RE: [PATCH] comedi: Change error return code for if statement in the function, cb_pcimdas_ai_rinsn

2015-02-25 Thread Nicholas Krause
On February 25, 2015 1:03:14 PM EST, Hartley Sweeten wrote: >On Tuesday, February 24, 2015 9:13 PM, Nicholas Krause wrote: >> This changes us using the incorrect error,-ETIMEOUT when checking if >> the channel we are allocating to on the device structure pointer >passed >> to this function is

Re: [PATCH 1/2] staging:iio:hmc5843: Constify register tables and struct regmap_config

2015-02-25 Thread Jonathan Cameron
On 24/02/15 09:41, Krzysztof Kozlowski wrote: > The regmap_access_table and regmap_config structures may be const > because they are not modified by the driver and regmap_init() accepts > pointer to const. > > Signed-off-by: Krzysztof Kozlowski Applied to the togreg branch of iio.git. Note I ende

Re: [PATCH 2/2] iio: jsa1212: Constify struct regmap_config

2015-02-25 Thread Jonathan Cameron
On 24/02/15 09:41, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski Applied to the togreg branch of iio.git. I'm having another of my periodic days in a

RE: [PATCH] comedi: Change error return code for if statement in the function,cb_pcimdas_ai_rinsn

2015-02-25 Thread Hartley Sweeten
On Tuesday, February 24, 2015 9:13 PM, Nicholas Krause wrote: > This changes us using the incorrect error,-ETIMEOUT when checking if > the channel we are allocating to on the device structure pointer passed > to this function is greater then the maximum available channels for this > device to the

RE: [PATCH v3 34/36] staging: comedi: amplc_dio200_common: convert driver to use the comedi_8254 module

2015-02-25 Thread Hartley Sweeten
On Wednesday, February 25, 2015 7:22 AM, Ian Abbott wrote: > On 24/02/2015 17:38, H Hartley Sweeten wrote: >> Convert this driver to use the comedi_8254 module to provide the 8254 timer >> support. >> >> Add 'clock_src' and 'gate_src' members to the comedi_8254 data for >> convienence. >> >> Sign

Re: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Thursday, February 19, 2015 8:27 AM >> To: KY Srinivasan; de...@linuxdriverproject.org >> Cc: Haiyang Zhang; linux-ker...@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 1/2] Drivers

Re: [patch] Staging: lustre: missing curly braces in ll_setattr_raw()

2015-02-25 Thread Drokin, Oleg
Ah! Nice catch. I am not sure how I missed that while making 178ba1e0d00aca671f9a8f5f41d28fc0fe717752, it's also strange that this never triggered any ill effects in any of my testing. Thanks! On Feb 25, 2015, at 8:20 AM, Dan Carpenter wrote: > From the indenting, it looks like curly braces w

[PATCH 3/3] Hal8188ERateAdaptive.c : Expression is always false because 'else if' condition matches previous condition at line 404.

2015-02-25 Thread Ameen Ali
else if at line 406 has the same condition as the else if at line 404. i chosed 0x5 because it's half 0xb (just a rate controller) Signed-off-by : Ameen Ali --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stagin

Re: doubt about sm7xxfb

2015-02-25 Thread Greg Kroah-Hartman
On Wed, Feb 25, 2015 at 06:00:02PM +0530, Sudip Mukherjee wrote: > On Wed, Feb 11, 2015 at 02:33:51PM +0800, Greg Kroah-Hartman wrote: > > On Wed, Feb 11, 2015 at 11:58:18AM +0530, Sudip Mukherjee wrote: > > > > Ok, that makes sense, I was thinking this was a "new" driver, instead of > > a vendor

Re: [PATCH v3 6/9] mfd: rtsx: remove LCTLR defination

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > To enable/disable ASPM we should find LINK CONTROL register > in PCI config space. All old chip use 0x80 address, but new > chip may use another address, so we using pci_find_capability() > to get LINK CONTROL address

Re: [PATCH v3 5/9] mfd: rtsx: update phy register

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Update some phy register name and value for rts5249, > the updated value makes chip more stable on some platform. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 29 +++- > include/li

Re: [PATCH v3 9/9] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > pcr_dbg is a wrapper of dev_dbg, which can save some code, > and help to enable/disable debug message static. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rtl8411.c | 11 +-- >

Re: [PATCH v3 2/9] mfd: rtsx: place register address and values togather

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > It is more readable to place register address and values define > togather. The values define add two leading space indicate belong > to the register address defined above. > > Signed-off-by: Micky Ching > Acked-by:

Re: [PATCH v3 4/9] mfd: rtsx: update driving settings

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > update card drive settings, This setting can be used for rts5249 > rts524A and rts525A. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rts5249.c | 12 ++-- > 1 file changed, 6 ins

Re: [PATCH v3 8/9] mfd: rtsx: add support for rts525A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts525A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 103 > +++ > drivers/mfd/rtsx_pcr.c | 13 -- > drivers/mfd

Re: [PATCH v3 7/9] mfd: rtsx: add support for rts524A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts524A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 186 > --- > drivers/mfd/rtsx_pcr.c | 25 +- > drivers/mfd

Re: [PATCH v3 3/9] mfd: rtsx: update PETXCFG address

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rts5227.c| 6 ++ > drivers/mfd/rts5249.c| 6 ++ > in

Re: [PATCH v3 5/9] mfd: rtsx: update phy register

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Update some phy register name and value for rts5249, > the updated value makes chip more stable on some platform. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 29 +++- > include/li

Re: [PATCH v3 1/9] mfd: rtsx: replace TAB by SPC after #define

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Re-format coding-style, using uniform SPC after "#define" keyword > instead of mixing using TAB and SPC. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > include/linux/mfd/rtsx_pci.h | 254 > +

Re: [PATCH v3 8/9] mfd: rtsx: add support for rts525A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts525A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 103 > +++ > drivers/mfd/rtsx_pcr.c | 13 -- > drivers/mfd

Re: [PATCH v3 7/9] mfd: rtsx: add support for rts524A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts524A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 186 > --- > drivers/mfd/rtsx_pcr.c | 25 +- > drivers/mfd

RE: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, February 19, 2015 8:27 AM > To: KY Srinivasan; de...@linuxdriverproject.org > Cc: Haiyang Zhang; linux-ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH 1/2] Drivers: hv: hv_balloon: report off

Re: [PATCH v3 34/36] staging: comedi: amplc_dio200_common: convert driver to use the comedi_8254 module

2015-02-25 Thread Ian Abbott
On 24/02/2015 17:38, H Hartley Sweeten wrote: Convert this driver to use the comedi_8254 module to provide the 8254 timer support. Add 'clock_src' and 'gate_src' members to the comedi_8254 data for convienence. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- v3: A

[PATCH] Staging: emxx_udc: fix warnings

2015-02-25 Thread Matteo Semenzato
From: Matteo Semenzato This patch fixes the following warning: __aligned(size) is preferred over __attribute__((aligned(size))) Signed-off-by: Matteo Semenzato --- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/emxx_udc/e

[patch] Staging: lustre: missing curly braces in ll_setattr_raw()

2015-02-25 Thread Dan Carpenter
>From the indenting, it looks like curly braces were intended here. Signed-off-by: Dan Carpenter --- This is not tested, and it changes how the code works. Please review it a bit carefully. Sometimes people just do weird indenting for no reason. diff --git a/drivers/staging/lustre/lustre/llite

Re: doubt about sm7xxfb

2015-02-25 Thread Sudip Mukherjee
On Wed, Feb 11, 2015 at 02:33:51PM +0800, Greg Kroah-Hartman wrote: > On Wed, Feb 11, 2015 at 11:58:18AM +0530, Sudip Mukherjee wrote: > > Ok, that makes sense, I was thinking this was a "new" driver, instead of > a vendor driver crud. Hi Greg, The SM750 driver is almost ready for staging, it now

Caro usuário,

2015-02-25 Thread ADMIN
Caro usuário, Esta é para informá-lo que alguém estava tentando entrar sua conta email de um local diferente {IP:37. 187.138.129 França: 24/02/2015 02:36 GTM} Se você não estiver por favor siga as instruções abaixo para atualizar e Verifique apenas 12 horas de sua conta para fazer isso fim de man

Re: [PATCH] staging: android: ion: fix wrong init of dma_buf_export_info

2015-02-25 Thread Dan Carpenter
Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel