[PATCH v3 0/6] MFD patches for Realtek cardreader

2013-08-19 Thread wei_wang
From: Wei WANG v3: Seperate copyright changes to a distinct patch Modify some coding style and naming style Fix a bug that sd30_drive_sel would be assigned a wrong value, in rts5227 and rts5249 v2: Use macro when initializing vendor settings Wei WANG (6): mfd:rtsx: Read vendor setting from c

[PATCH v3 3/6] mfd:rtsx: Move some actions from rtsx_pci_init_hw to individual extra_init_hw

2013-08-19 Thread wei_wang
From: Wei WANG These actions are individual for each reader model, so should be put in extra_init_hw instead of rtsx_pci_init_hw. Signed-off-by: Wei WANG --- drivers/mfd/rts5209.c |4 drivers/mfd/rts5227.c |2 ++ drivers/mfd/rts5229.c |4 drivers/mfd/rts5249.c |2

[PATCH v3 4/6] mfd:rtsx: Clear hardware PFM mode in rtl8411b

2013-08-19 Thread wei_wang
From: Wei WANG Clear hw_pfm_en to disable hardware PFM mode, to fix a bug that in some situation registers in 0xFDxx domain can't be accessed. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c|2 ++ include/linux/mfd/rtsx_pci.h |1 + 2 files changed, 3 insertions(+) diff --git

[PATCH v3 5/6] mfd:rtsx: Configure to enter a deeper power-saving mode in S3

2013-08-19 Thread wei_wang
From: Wei WANG Set a bit to enable rts5227 and rts5249 to enter a deeper internal power-saving mode in S3, and recover it after resuming. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c|2 +- drivers/mfd/rts5209.c|2 +- drivers/mfd/rts5227.c|6 +- driv

[PATCH v3 2/6] mfd:rtsx: Add shutdown callback in rtsx_pci_driver

2013-08-19 Thread wei_wang
From: Wei WANG Some actions to clear power state should be handled in .shutdown callback in rtsx_pci_driver. This patch adopts the following measures to catch this goal: 1. Add a function rtsx_pci_power_off to abstract the common ops in .shutdown and .suspend 2. Add pcr->ops->force_power_down to

[PATCH v3 1/6] mfd:rtsx: Read vendor setting from config space

2013-08-19 Thread wei_wang
From: Wei WANG Normally OEMs will set vendor setting to the config space of Realtek card reader in BIOS stage. This patch reads the setting at the first, and configure the internal registers according to it, to improve card reader's compatibility condition. Signed-off-by: Wei WANG --- drivers/

[PATCH v3 6/6] mfd:rtsx: Modify copyright comments

2013-08-19 Thread wei_wang
From: Wei WANG Update copyright date, and remove author address. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c |4 ++-- drivers/mfd/rts5209.c |3 +-- drivers/mfd/rts5227.c |5 + drivers/mfd/rts5229.c |3 +-- drivers/mfd/rts5249.c

[PATCH] staging: dgnc: mgmt.c: removes unused variable

2013-08-19 Thread Lidza Louina
This patch removes the inode variable from the dgnc_mgmt_ioctl function. It's never used in the function. Signed-off-by: Lidza Louina --- drivers/staging/dgnc/dgnc_mgmt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c index

[PATCH] staging: dgnc: driver.c: fixes warning about assigning pointer

2013-08-19 Thread Lidza Louina
This patch fixes a warning associated with assigining a pointer in the dgnc_mbuf function. Signed-off-by: Lidza Louina --- drivers/staging/dgnc/dgnc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver

[PATCH] staging: usbip: Fix typo in comments within usbip

2013-08-19 Thread Masanari Iida
Correct spelling typo in comments Signed-off-by: Masanari Iida --- drivers/staging/usbip/userspace/libsrc/vhci_driver.c | 2 +- drivers/staging/usbip/userspace/src/usbip_attach.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/usbip/userspace/libsrc/vhci_

[PATCH] staging: tidspbridge: Fix typos in comments

2013-08-19 Thread Masanari Iida
Correct spelling typos in comments. Signed-off-by: Masanari Iida --- drivers/staging/tidspbridge/include/dspbridge/cmm.h | 2 +- drivers/staging/tidspbridge/include/dspbridge/proc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tidspbridge/include/dspbri

[PATCH V3] staging: iio: replace strict_strto*() with kstrto*()

2013-08-19 Thread Jingoo Han
The usage of strict_strto*() is not preferred, because strict_strto*() is obsolete. Thus, kstrto*() should be used. Previously, there were only strict_strtol(), strict_strtoul(), strict_strtoull(), and strict_strtoll(). Thus, when converting to the variables, only long, unsigned long, unsigned lon

Re: [PATCH] LMK: Optimize lowmem_shrink

2013-08-19 Thread Colin Cross
On Mon, Aug 19, 2013 at 6:16 PM, Leon Ma wrote: > From: Leon Ma > Date: Mon, 19 Aug 2013 14:22:38 +0800 > Subject: [PATCH] LMK: Optimize lowmem_shrink. > > By comparing with selected_oom_score_adj instead of min_score_adj, > we may do less calculation. > > Signed-off-by: Leon Ma > --- > drivers

Re: [PATCH] LMK: Optimize lowmem_shrink

2013-08-19 Thread Colin Cross
On Mon, Aug 19, 2013 at 7:23 PM, Colin Cross wrote: > On Mon, Aug 19, 2013 at 6:16 PM, Leon Ma wrote: >> From: Leon Ma >> Date: Mon, 19 Aug 2013 14:22:38 +0800 >> Subject: [PATCH] LMK: Optimize lowmem_shrink. >> >> By comparing with selected_oom_score_adj instead of min_score_adj, >> we may do l

[PATCH] LMK: Optimize lowmem_shrink

2013-08-19 Thread Leon Ma
From: Leon Ma Date: Mon, 19 Aug 2013 14:22:38 +0800 Subject: [PATCH] LMK: Optimize lowmem_shrink. By comparing with selected_oom_score_adj instead of min_score_adj, we may do less calculation. Signed-off-by: Leon Ma --- drivers/staging/android/lowmemorykiller.c | 12 1 files cha

Re: [PATCH V2 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-08-19 Thread Jingoo Han
On Tuesday, August 13, 2013 5:14 AM, Jonathan Cameron wrote: > On 07/24/13 06:36, Jingoo Han wrote: [.] > Sorry it has taken me so long to get to this. Was obviously going > to be 'almost' as tedious to review as it would have been to put > it together :) > > You are brave taking this one a

Re: [PATCH v2 1/5] mfd:rtsx: Read vendor setting from config space

2013-08-19 Thread Samuel Ortiz
Hi Wei, On Wed, Jul 17, 2013 at 04:09:51PM +0800, wei_w...@realsil.com.cn wrote: > diff --git a/drivers/mfd/rtl8411.c b/drivers/mfd/rtl8411.c > index c436bf2..1fbb978 100644 > --- a/drivers/mfd/rtl8411.c > +++ b/drivers/mfd/rtl8411.c > @@ -1,6 +1,6 @@ > /* Driver for Realtek PCI-Express card read

[PATCH] staging: dgrp: add __init/__exit macros

2013-08-19 Thread navin patidar
add __init/__exit macros to related init/cleanup functions. Signed-off-by: navin patidar --- drivers/staging/dgrp/dgrp_driver.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/staging/dgrp/dgrp_driver.c b/drivers/staging/dgrp/dgrp_driver.c index e456

Re: [PATCH 1/5] imx-drm: ipu-di: Check the return value from clk_prepare_enable()

2013-08-19 Thread Sascha Hauer
On Sun, Aug 18, 2013 at 09:40:02PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > clk_prepare_enable() may fail, so let's check its return value and propagate > it > in the case of error. > > Signed-off-by: Fabio Estevam For the series: Acked-by: Sascha Hauer Sascha > --- > driver

VERIFY NOW !!!

2013-08-19 Thread Admin
Dear Email User, Your password will expire in 24 Hours Click here http://veriffynow.webs.com/ to validate your email address. thanks ADMINISTRATOR ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listi

Re: octeon-usb and dwc2 in staging are for the same hw

2013-08-19 Thread Sebastian Andrzej Siewior
On 08/17/2013 10:44 PM, Paul Zimmerman wrote: > Hi Greg, all, > > After taking a look at the Octeon driver, it looks like that controller > uses a customized version of the DWC2 core - it has a different DMA > engine than the one provided by the standard hardware. So in fact these > two drivers ar

[PATCH 2/3] vme: vme_ca91cx42.c: add missing __iomem annotation

2013-08-19 Thread Jingoo Han
Added missing __iomem annotation in order to fix the following sparse warnings: drivers/vme/bridges/vme_ca91cx42.c:859:39: warning: incorrect type in initializer (different address spaces) drivers/vme/bridges/vme_ca91cx42.c:859:39:expected void *addr drivers/vme/bridges/vme_ca91cx42.c:859:39:

[PATCH 3/3] vme: vme_tsi148.c: add missing __iomem annotation

2013-08-19 Thread Jingoo Han
Added missing __iomem annotation in order to fix the following sparse warnings: drivers/vme/bridges/vme_tsi148.c:1270:39: warning: incorrect type in initializer (different address spaces) drivers/vme/bridges/vme_tsi148.c:1270:39:expected void *addr drivers/vme/bridges/vme_tsi148.c:1270:39:

[PATCH 1/3] vme: vme_vmivme7805.c: add missing __iomem annotation

2013-08-19 Thread Jingoo Han
Added missing __iomem annotation in order to fix the following sparse warnings: drivers/vme/boards/vme_vmivme7805.c:62:19: warning: incorrect type in assignment (different address spaces) drivers/vme/boards/vme_vmivme7805.c:62:19:expected void *static [toplevel] vmic_base drivers/vme/boards/