[PATCH 2/2] mmc: rtsx: add support for async request

2014-06-06 Thread micky_ching
From: Micky Ching Add support for non-blocking request, pre_req() runs dma_map_sg() and post_req() runs dma_unmap_sg(). This patch can increase card read/write speed, especially for high speed card and slow speed CPU. Test on intel i3(800MHz - 2.3GHz) performance mode(2.3GHz), SD card clock 208M

[PATCH 0/2] mmc: rtsx: add support for async request

2014-06-06 Thread micky_ching
From: Micky Ching Add support for sd/mmc async request, which makes next request do dma_map_sg() while previous request transfering data. This behaviour can improve card io performance more than 10%. Since rtsx mfd driver only provide a single function for transfering data, so add three split fu

[PATCH 1/2] mfd: rtsx: add dma transfer function

2014-06-06 Thread micky_ching
From: Micky Ching rtsx driver using a single function for transfer data, dma map/unmap are placed in one fix function. We need map/unmap dma in different place(for mmc async driver), so add three function for dma map, dma transfer and dma unmap. Signed-off-by: Micky Ching --- drivers/mfd/rtsx_

[PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

2014-06-06 Thread Magnus Damm
me to rebase this code somehow. Signed-off-by: Magnus Damm --- Written against renesas git repo at kernel.org using tag renesas-devel-v3.15-rc8-20140606 drivers/staging/Kconfig |4 drivers/staging/Makefile|2 drivers/staging/board/Kconfig |8

[PATCH v3 04/05] staging: board: Initial board staging support

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add staging board base support to allow continuous upstream in-tree development and integration of platform devices. Helps developers integrate devices as platform devices for device drivers that only provide platform device bindings. This in turn allows for incremental develop

[PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Ken Helias
rbert Xu Cc: dri-de...@lists.freedesktop.org Cc: e1000-de...@lists.sourceforge.net Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Cc: linux-fsde...@vger.kernel.org Cc: b.a.t.m@lists.open-mesh.org Cc: bri...@lists.linux-foundation.org --- Patch based on "Add linux-next specific files for 20

[PATCH v3 05/05] staging: board: kzm9d: Board staging support for emxx_udc

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add staging board support for the KZM9D board and add an emxx_udc platform device to allow in-tree continous development of the driver on the KZM9D board. When DT bindings are ready for the emxx_udc driver then the platform device in the KZM9D staging board code can easily be

[PATCH v3 02/05] staging: emxx_udc: I/O memory and IRQ resource support

2014-06-06 Thread Magnus Damm
From: Magnus Damm Adjust the emxx_udc driver to make use of the standard driver model to pass I/O memory and IRQ as resources instead of hard coding those things in the driver. Needs more work - the VBUS signal is yet not handled. Signed-off-by: Magnus Damm --- Changes since V2: - None Ch

[PATCH v3 03/05] staging: emxx_udc: Add TODO file

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add a TODO file for emxx_udc to show what is left to do. Signed-off-by: Magnus Damm --- Changes since V2: - None Changes since V1: - New patch drivers/staging/emxx_udc/TODO |4 1 file changed, 4 insertions(+) --- /dev/null +++ work/drivers/staging/emxx_udc/TO

Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for dma_map_single()

2014-06-06 Thread Eli Billauer
Hello Joerg. On 05/06/14 00:25, Joerg Roedel wrote: What you are trying to do should work with dma_alloc_noncoherent(). The API allows partial syncs on this memory, so you should be fine. Please try to put yourself in my position: I have a driver that I care about, which works fine for a

Re: [PATCH v2 04/05] staging: board: Initial board staging support

2014-06-06 Thread Magnus Damm
On Fri, May 30, 2014 at 8:10 AM, Simon Horman wrote: > On Thu, May 29, 2014 at 10:27:30PM +0900, Magnus Damm wrote: >> Hi Dan, >> >> On Thu, May 29, 2014 at 10:20 PM, Dan Carpenter >> wrote: >> > On Thu, May 29, 2014 at 10:17:32PM +0900, Magnus Damm wrote: >> >> --- /dev/null >> >> +++ work/drive

Re: [PATCH] staging: omap4iss: copy paste error in iss_get_clocks

2014-06-06 Thread Laurent Pinchart
Hi Vitaly, Thank you for the patch. On Thursday 05 June 2014 17:07:48 Vitaly Osipov wrote: > It makes more sense to return PTR_ERR(iss->iss_ctrlclk) here. The > current code looks like an oversight in pasting the block just above > this one. > > Signed-off-by: Vitaly Osipov Acked-by: Laurent P

Re: [PATCH] imx-drm: imx-hdmi: fix hdmi hotplug detection initial state

2014-06-06 Thread Greg Kroah-Hartman
On Fri, Jun 06, 2014 at 02:56:43PM +0100, Russell King wrote: > The initial state at boot is assumed to be disconnected, and we hope > to receive an interrupt to update the status. Let's be more explicit > about the current state - reading the PHY status register tells us > the current level of th

[PATCH] imx-drm: imx-hdmi: fix hdmi hotplug detection initial state

2014-06-06 Thread Russell King
The initial state at boot is assumed to be disconnected, and we hope to receive an interrupt to update the status. Let's be more explicit about the current state - reading the PHY status register tells us the current level of the hotplug signal, which we can report back in the _detect() method. S

Re: [PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

2014-06-06 Thread Greg KH
On Fri, Jun 06, 2014 at 07:44:08PM +0900, Magnus Damm wrote: > staging: Emma Mobile USB driver and KZM9D board code V3 > > [PATCH v3 01/05] staging: emxx_udc: Add Emma Mobile USB Gadget driver > [PATCH v3 02/05] staging: emxx_udc: I/O memory and IRQ resource support > [PATCH v3 03/05] staging: emx

Re: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Greg KH
urceforge.net > Cc: net...@vger.kernel.org > Cc: de...@driverdev.osuosl.org > Cc: linux-fsde...@vger.kernel.org > Cc: b.a.t.m@lists.open-mesh.org > Cc: bri...@lists.linux-foundation.org > --- > Patch based on "Add linux-next specific files for 20140606" > > driver

RE: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread David Laight
From: Behalf Of Ken Helias > All other add functions for lists have the new item as first argument and the > position where it is added as second argument. This was changed for no good > reason in this function and makes using it unnecessary confusing. > > Also the naming of the arguments in hlist

Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for dma_map_single()

2014-06-06 Thread Greg KH
On Fri, Jun 06, 2014 at 02:45:06PM +0300, Eli Billauer wrote: > Hello Joerg. > > > On 05/06/14 00:25, Joerg Roedel wrote: > > > >What you are trying to do should work with dma_alloc_noncoherent(). The > >API allows partial syncs on this memory, so you should be fine. > Please try to put yourself

[PATCH 04/13] staging: rtl8188eu:Move rtw_hw_[suspend, resume]() to rtw_pwrctrl.c

2014-06-06 Thread navin patidar
rtw_hw_[suspend,resume]() functions are used only in rtw_pwrctrl.c, so move these functions there. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 103 drivers/staging/rtl8188eu/include/osdep_intf.h |2 - drivers/staging/rtl8188eu/o

[PATCH 05/13] staging: rtl8188eu: Remove unused struct intf_priv

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/include/osdep_intf.h | 33 1 file changed, 33 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_intf.h b/drivers/staging/rtl8188eu/include/osdep_intf.h index a5b3bd3..523141a 100644 --- a/driv

[PATCH 02/13] staging: rtl8188eu: Remove rtw_deinit_intf_priv()

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index c2e5276..f874270 100644 --- a/drivers/

[PATCH 09/13] staging: rtl8188eu: rtw_io.h: Remove unused structures

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/include/rtw_io.h | 85 1 file changed, 85 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_io.h b/drivers/staging/rtl8188eu/include/rtw_io.h index e30b84b..e56c52b 100644 --- a/drivers/stag

[PATCH 03/13] staging: rtl8188eu: Remove rtw_init_intf_priv()

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index f874270..a84ee97 100644 --- a/drive

[PATCH 07/13] staging: rtl8188eu: Remove unused function _rtw_write_mem()

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_io.c | 14 -- drivers/staging/rtl8188eu/hal/usb_ops_linux.c|1 - drivers/staging/rtl8188eu/include/rtw_io.h |5 - drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c |4 4 files

[PATCH 08/13] staging: rtl8188eu: Remove unused function declaration and macro

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/include/rtw_io.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_io.h b/drivers/staging/rtl8188eu/include/rtw_io.h index 958fc52..e30b84b 100644 --- a/drivers/staging/rtl8188eu/include/rtw_

[PATCH 10/13] staging: rtl8188eu: HalPhyRf_8188e.c: Remove unused macro

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c index fafb18c..5afaad2 100644 --- a/drivers/staging/rtl8188eu/hal

[PATCH 11/13] staging: rtl8188eu: HalPhyRf_8188e.c: Remove unnecessary comments

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c | 37 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c index 5afaad2..c951616

[PATCH] staging: rtl8188eu: os_dep: usb_intf.c: Cleaning up unnecessary code

2014-06-06 Thread navin patidar
From: Rickard Strandqvist Removes unnecessary code that does not do anything useful. This was partly found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/os_dep/usb_intf.c |8 +--- 1 file changed, 1 insertion(+),

Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for dma_map_single()

2014-06-06 Thread Eli Billauer
On 06/06/14 19:01, Greg KH wrote: Please try to put yourself in my position: I have a driver that I care > about, which works fine for a few years. It's based upon dma_map_single(), > which seems to be the common way to get non-coherent memory, even for the > driver's entire lifespan. I realiz

[PATCH 06/13] staging: rtl8188eu: Remove unused funtion _rtw_read_mem()

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_io.c | 15 --- drivers/staging/rtl8188eu/hal/usb_ops_linux.c|1 - drivers/staging/rtl8188eu/include/rtw_io.h |2 -- drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c |4 4 files c

Re: [PATCH] staging: rtl8188eu: os_dep: usb_intf.c: Cleaning up unnecessary code

2014-06-06 Thread navin patidar
sorry, my script picked up Rickard's patch and send it out again along my patches. I need to fix my script. regards, navin patidar On Fri, Jun 6, 2014 at 9:45 PM, navin patidar wrote: > From: Rickard Strandqvist > > Removes unnecessary code that does not do anything useful. > > This was partly

Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for dma_map_single()

2014-06-06 Thread Shuah Khan
On 06/06/2014 10:21 AM, Eli Billauer wrote: On 06/06/14 19:01, Greg KH wrote: Please try to put yourself in my position: I have a driver that I care > about, which works fine for a few years. It's based upon dma_map_single(), > which seems to be the common way to get non-coherent memory, even

[PATCH 12/13] staging: rtl8188eu: rtw_io.h: Remove unused macros

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/include/rtw_io.h | 57 1 file changed, 57 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_io.h b/drivers/staging/rtl8188eu/include/rtw_io.h index e56c52b..9c6384b 100644 --- a/drivers/stag

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-06 Thread Mike Christie
On 6/5/14, 9:53 PM, KY Srinivasan wrote: -Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Thursday, June 5, 2014 6:33 PM To: KY Srinivasan Cc: James Bottomley; linux-ker...@vger.kernel.org; a...@canonical.com; de...@linuxdriverproject.org; h...@infradead.org;

Re: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Paul E. McKenney
On Fri, Jun 06, 2014 at 03:56:52PM +, David Laight wrote: > From: Behalf Of Ken Helias > > All other add functions for lists have the new item as first argument and > > the > > position where it is added as second argument. This was changed for no good > > reason in this function and makes usi

[PATCH 01/13] staging: rtl8188eu: usb_halinit.c: Remove ReadAdapterInfo8188EU()

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index e60b5e9..316c821 100644 --- a/drivers/st

[PATCHv2 02/13] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Ken Helias
specific files for 20140606" v2: Splitted into two patches reduced number of Cc drivers/gpu/drm/drm_hashtab.c| 2 +- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 2 +- drivers/staging/lustre/lustre/libcfs/hash

[PATCH 13/13] staging: tidspbridge: Use list_add_(before|after) macros

2014-06-06 Thread Ken Helias
From: Ken Helias Many places in the code uses list_add_tail/list_add to insert an entry before/after another entry. This confuses the reader because these are usually used to add an item to a list_head and not an entry. Better use the self explaining function name. Signed-off-by: Ken Helias Cc:

[PATCH 13/13] staging: rtl8188eu: rtw_io.h: Remove unused members from struct _io_ops

2014-06-06 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/include/rtw_io.h |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_io.h b/drivers/staging/rtl8188eu/include/rtw_io.h index 9c6384b..bc36129 100644 --- a/drivers/staging/rtl8188eu/include/rtw_i

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-06 Thread James Bottomley
On Fri, 2014-06-06 at 12:18 -0500, Mike Christie wrote: > On 6/5/14, 9:53 PM, KY Srinivasan wrote: > > > > > >> -Original Message- > >> From: Mike Christie [mailto:micha...@cs.wisc.edu] > >> Sent: Thursday, June 5, 2014 6:33 PM > >> To: KY Srinivasan > >> Cc: James Bottomley; linux-ker...@v

[PATCH] drivers/staging/bcm: Added a space after a comma.

2014-06-06 Thread Chuong Ngo
Signed-off-by: Chuong Ngo --- drivers/staging/bcm/CmHost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index fb1d932..3dbdf0e 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -1418,7

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-06 Thread Jens Axboe
On 2014-06-06 11:52, James Bottomley wrote: On Fri, 2014-06-06 at 12:18 -0500, Mike Christie wrote: On 6/5/14, 9:53 PM, KY Srinivasan wrote: -Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Thursday, June 5, 2014 6:33 PM To: KY Srinivasan Cc: James Bottomley

[PATCH] vme_tsi148: Allow setting VMEbus Global Timeout

2014-06-06 Thread Aaron Sierra
Add a "gto" parameter to this driver so that the VMEbus Global Timeout value can be lowered from the default (8h -> 2048 us) or disabled completely. This patch also updates the TSI148_LCSR_VCTRL_GTO_* defines to match the Tsi148 User Reference Manual, which shows these values to be 4-bits instead

Save the Children Summit Invitation

2014-06-06 Thread hannahpaul5u
Dear, On behalf of Save the Children Summit/Children Foundation (SCS/CF), It is a great privilege for us to invite you to global Congress meeting on War affected Children/Child abuse,war against abducted school girls in Nigeria and human trafficking. The aims of the congress are to bring tog

[PATCH v2 5/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Misc. fixes.

2014-06-06 Thread Thomas Wood
Remove initialization of static value. Invert the empty if statement's test to replace the else statement. Remove parentheses from a return statement. Fix some code indentation. Signed-off-by: Thomas Wood --- I'm pretty sure that the indentation was caused by a mistake by me earlier on in the p

[PATCH v2 0/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Fix style errors and warnings.

2014-06-06 Thread Thomas Wood
Changes since v1: * Made single patch into a patch set. * Added better commit messages. Is this better, or do I still have to split up my first patch? >8--8< Remove all style errors from ft1000_debug.c and some warnings. Thomas Wood (5): s

[PATCH v2 3/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Remove unnecessary whitespace.

2014-06-06 Thread Thomas Wood
Remove whitespace before a quoted newline. Remove space between function name and it's parameter list. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_

[PATCH v2 2/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Add required spaces.

2014-06-06 Thread Thomas Wood
Add spaces around operators, after commas, and between (foo*). Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/driver

[PATCH v2 1/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Replace spaces with tabs.

2014-06-06 Thread Thomas Wood
Replace the spaces that were used as tabs with actual tabs. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 974 +++ 1 file changed, 487 insertions(+), 487 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers

[PATCH v2 4/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Remove unnecessary braces.

2014-06-06 Thread Thomas Wood
Remove unnecessary braces from single statement if blocks. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/stagin

Re: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Andrew Morton
On Fri, 6 Jun 2014 10:22:51 -0700 "Paul E. McKenney" wrote: > On Fri, Jun 06, 2014 at 03:56:52PM +, David Laight wrote: > > From: Behalf Of Ken Helias > > > All other add functions for lists have the new item as first argument and > > > the > > > position where it is added as second argumen