NOTIS RASMI HADIAH TELEKOM MALAYSIA

2015-01-14 Thread Telekom Malaysia Berhad
Telekom Malaysia Berhad G.03B, Ground Floor, Kompleks Antarabangsa, Jln Sultan Ismail, Off Jalan Ampang 50250 Kuala Lumpur Malaysia. NOTIS RASMI HADIAH TELEKOM MALAYSIA Pihak Telekom Malaysia @Program Kemenangan yang telah diadakan pada 15th Januari 2015 di mana alamat email anda yang diser

[PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-14 Thread Roger Tseng
sd_set_power_mode() in derived module drivers/mmc/host/rtsx_usb_sdmmc.c acquires dev_mutex and then calls pm_runtime_get_sync() to make sure the device is awake while initializing a newly inserted card. Once it is called during suspending state and explicitly before rtsx_usb_suspend() acquires the

[PATCH 0/2] Fix PM deadlock and card detection problem

2015-01-14 Thread Roger Tseng
The patchset fixes a deadlock situation of runtime PM methods and minimize card detection "deadtime" during runtime suspending. Roger Tseng (2): mfd: rtsx_usb: Fix runtime PM deadlock mfd: rtsx_usb: Defer autosuspend while card exists drivers/mfd/rtsx_usb.c | 21 + 1 file

[PATCH 2/2] mfd: rtsx_usb: Defer autosuspend while card exists

2015-01-14 Thread Roger Tseng
A card insertion happens after the lastest polling before reader is suspended may never have a chance to be detected. Under current 1-HZ polling interval setting in mmc_core, the worst case of such undetectablility is about 1 second. To further reduce the undetectability, detect card slot again in

[PATCH] staging: davinci_vpfe: fix space prohibited before semicolon warning

2015-01-14 Thread Aya Mahfouz
This patch fixes the following checkpatch.pl warning: space prohibited before semicolon Signed-off-by: Aya Mahfouz --- v1: This patch applies to Greg's tree. drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Pantelis Antoniou
Hi Jason, > On Jan 14, 2015, at 20:12 , Jason Gunthorpe > wrote: > > On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: > >> and I think you effectively have the user usage covered here for such >> things. It much like GPIO pins - we can describe them but we can also >> decla

Re: [PATCH v2] staging: skein: Remove all do{} while (0) loop from single statement.

2015-01-14 Thread Jason Cooper
Shirish, Please don't toppost, I've corrected it below. On Mon, Jan 12, 2015 at 11:14:57AM -0800, shirish gajera wrote: > On Mon, Jan 12, 2015 at 6:15 AM, Jason Cooper wrote: > > On Sun, Jan 11, 2015 at 03:41:05PM -0800, Shirish Gajera wrote: > > > This patch fixes the checkpatch.pl warning: > >

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Jason Gunthorpe
On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: > and I think you effectively have the user usage covered here for such > things. It much like GPIO pins - we can describe them but we can also > declare they are not visible to the user. A missing element in mainline is a kind

[PATCH 02/15] staging: comedi: pcl818: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 05/15] staging: comedi: das16: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 04/15] staging: comedi: pcl812: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 10/15] staging: comedi: pcl818: simplify the dma->size calculations

2015-01-14 Thread H Hartley Sweeten
Currently this driver determines the number of DMA "runs" needed and the size of the "last" DMA transfer in order to perform a command. As long as there are more "runs" required, the dma->size is set to the buffer maxsize. On the last "run" the buffer is set to the "last" size. Refactor the driver

[PATCH 09/15] staging: comedi: ni_labpc_isadma: use comedi_isdma module

2015-01-14 Thread H Hartley Sweeten
The labpc driver has already had the depends on ISA_DMA_API limitation removed by moving all the DMA support code into the labpc_isadma module. For aesthetics, use the comedi_isadma module to provide the actual ISA DMA support. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hart

[PATCH 14/15] staging: comedi: pcl812: simplify the dma->size calculations

2015-01-14 Thread H Hartley Sweeten
The dma->size calculations are overly complicated in this driver and the 'prealloc_bufsz' sanity checks are unnecessary. Currently this driver determines the number of DMA "runs" needed and the size of the "last" DMA transfer in order to perform a command. As long as there are more "runs" required

[PATCH 13/15] staging: comedi: pcl816: use common function to setup dma

2015-01-14 Thread H Hartley Sweeten
THe pcl816_ai_setup_dma() and pcl816_ai_setup_next_dma() functions are similar other than the buffer switch and the inclusion of the "unread_samples" in pcl818_ai_setup_next_dma() when calculating the dma size. Merge these two functions by initializing the 'dma->cur_dma' in the callers and passing

[PATCH 12/15] staging: comedi: pcl816: simplify the dma->size calculations

2015-01-14 Thread H Hartley Sweeten
Currently this driver determines the number of DMA "runs" needed and the size of the "last" DMA transfer in order to perform a command. As long as there are more "runs" required, the dma->size is set to the buffer maxsize. On the last "run" the buffer is set to the "last" size. Refactor the driver

[PATCH 15/15] staging: comedi: pcl812: use common function to setup dma

2015-01-14 Thread H Hartley Sweeten
The pcl812_ai_setup_dma() and pcl812_ai_setup_next_dma() functions are similar other than the buffer switch and the inclusion of the "unread_samples" in pcl818_ai_setup_next_dma() when calculating the dma size. Merge these two functions by initializing the 'dma->cur_dma' in the callers and passing

[PATCH 07/15] staging: comedi: dt282x: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 11/15] staging: comedi: pcl818: use common function to setup dma

2015-01-14 Thread H Hartley Sweeten
THe pcl818_ai_setup_dma() and pcl818_ai_setup_next_dma() functions are similar other than the buffer switch and the inclusion of the "unread_samples" in pcl818_ai_setup_next_dma() when calculating the dma size. Merge these two functions by initializing the 'dma->cur_dma' in the callers and passing

[PATCH 00/15] staging: comedi: use common module for ISA DMA

2015-01-14 Thread H Hartley Sweeten
The comedi legacy drivers that use ISA DMA all currently depend on the ISA_DMA_API being avaliable in order to be selected. The ISA_DMA_API is only needed to optionally support DMA when running asnyc commands. Introduce a new helper module that provides all the ISA DMA support. Modify the Kconfig

[PATCH 06/15] staging: comedi: das1800: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 08/15] staging: comedi: ni_at_a2150: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

[PATCH 01/15] staging: comedi: comedi_isadma: introduce helper module for ISA DMA

2015-01-14 Thread H Hartley Sweeten
Introduce a new helper module to consolidate all the ISA DMA code. This will allow removing the "depends on ISA_DMA_API" from the legacy drivers that can use DMA for async command support. This module is complete based on the various uses of ISA DMA in the comedi drivers. Signed-off-by: H Hartley

[PATCH 03/15] staging: comedi: pcl816: remove depends on ISA_DMA_API limitation

2015-01-14 Thread H Hartley Sweeten
Use the new comedi_isadma module to provide the ISA DMA support. This removes all the ISA_DMA_API code from this driver and allows the driver to be used on platforms that don't support the ISA_DMA_API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/c

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread One Thousand Gnomes
> The request_firmware interface should be for the DT overlay path, and > other schemes shouldn't use it. The name should come from the DT and > no place else. For the static bindings agreed (or ACPI but that's a detail) or other dynamic discovery post boot. > 2) The bootloader starts the kernel

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread One Thousand Gnomes
> Those people have failed to show up and provide input and/or code. That doesn't excuse failing to design the code properly. > > >> It is one thing to context switch a maths algorithm that is built to > >> be stateless, it is quite another to context switch between, say an > >> ethernet core wi

[PATCH] staging: lustre: Add blank lines after declarations

2015-01-14 Thread Arno Tiemersma
Fixes this checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Arno Tiemersma --- drivers/staging/lustre/lustre/include/lclient.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/include/lclient.h b/drivers/staging/lustre/lustre

Re: [PATCH v3 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-14 Thread Dan Carpenter
On Wed, Jan 14, 2015 at 02:08:33PM +0100, Simone Weiss wrote: > dpacompat.h and digi.h partly define the same macros, so it is necessary to > change them both. > Could we eliminate one define? (I haven't looked so this isn't a rhetorical question). regards, dan carpenter __

Re: [PATCH] staging/iio/accel: checkpatch: fixed long lines by putting comments in seperate lines

2015-01-14 Thread Dan Carpenter
On Wed, Jan 14, 2015 at 01:18:10PM +0100, Helene Gsaenger wrote: > +/* Flash memory write count */ > +#define ADIS16203_FLASH_CNT 0x00 Ugh. No. That's super ugly. The original was fine. Just ignore checkpatch.pl when it complains about stupid stuff. regards, dan carpenter __

[PATCH] Fixed else following return statement warning

2015-01-14 Thread Asheesh Ranjan
Fixed an else block following a if block containing return statement warning found using checkpatch.pl Signed-off-by: Asheesh Ranjan --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 36 ++--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/drivers/stagin

Re: [PATCH] staging: android: fix coding style error (v2)

2015-01-14 Thread Patrick Boettcher
Hi Dan, Thanks for your valuable input. It's appreciated. On Wed, 14 Jan 2015 12:28:44 +0300 Dan Carpenter wrote: > > lots of Cc:'s [..] > > This block is not needed. This is a whitespace patch not something > controversial where we will need to look at who was CC'd so that we > can get annoye

Re: [PATCH 00/25] staging: comedi: tidy up ISA DMA programming

2015-01-14 Thread Ian Abbott
On 13/01/15 17:16, H Hartley Sweeten wrote: Tidy up the ISA DMA programming in all the comedi legacy drivers to follow the programming sequence described in Documentation/DMA-ISA-LPC.txt. This series applies after: "[PATCH 00/37] staging: comedi: tidy up legacy DMA drivers" H Hartley Sweeten (2

Re: [PATCH] staging: android: fix coding style error (v2)

2015-01-14 Thread Dan Carpenter
Put the v2 in "[PATCH v2]" so that it gets removed and not stored in the permanent changelog. On Wed, Jan 14, 2015 at 10:10:36AM +0100, Patrick Boettcher wrote: > Simple style fix - 80 char limit was exceeded. > > This is second version of the patch. Thanks Joe Perches. Put this line under the -

[PATCH] staging: android: fix coding style error (v2)

2015-01-14 Thread Patrick Boettcher
Simple style fix - 80 char limit was exceeded. This is second version of the patch. Thanks Joe Perches. Context: eudyptula challenge (http://eudyptula-challenge.org/) Signed-off-by: Patrick Boettcher Cc: Greg Kroah-Hartman Cc: Arnd Bergmann Cc: John Stultz Cc: Peter Senna Tschudin Cc: Dani

[PATCH v4] hv: hv_fcopy: drop the obsolete message on transfer failure

2015-01-14 Thread Dexuan Cui
In the case the user-space daemon crashes, hangs or is killed, we need to down the semaphore, otherwise, after the daemon starts next time, the obsolete data in fcopy_transaction.message or fcopy_transaction.fcopy_msg will be used immediately. Cc: Jason Wang Cc: Vitaly Kuznetsov Cc: K. Y. Sriniv

Re: [PATCH] staging: android: fix coding style error

2015-01-14 Thread Joe Perches
On Wed, 2015-01-14 at 09:32 +0100, Arnd Bergmann wrote: > On Wednesday 14 January 2015 09:20:42 Patrick Boettcher wrote: > > diff --git a/drivers/staging/android/sync_debug.c > > b/drivers/staging/android/sync_debug.c [] > > @@ -96,7 +96,8 @@ static void sync_print_pt(struct seq_file *s, struct >

Re: [PATCH] staging: android: fix coding style error

2015-01-14 Thread Arnd Bergmann
On Wednesday 14 January 2015 09:20:42 Patrick Boettcher wrote: > diff --git a/drivers/staging/android/sync_debug.c > b/drivers/staging/android/sync_debug.c > index 1532a86..9a2aaf8 100644 > --- a/drivers/staging/android/sync_debug.c > +++ b/drivers/staging/android/sync_debug.c > @@ -96,7 +96,8 @@

[PATCH] staging: android: fix coding style error

2015-01-14 Thread Patrick Boettcher
Simple style fix - 80 char limit was exceeded. Context: eudyptula challenge (http://eudyptula-challenge.org/) Signed-off-by: Patrick Boettcher Cc: Greg Kroah-Hartman Cc: Arnd Bergmann Cc: John Stultz Cc: Peter Senna Tschudin Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Tapasweni Pathak Cc