[PATCH] mfd: rtsx: add support for rts522A

2015-04-16 Thread micky_ching
From: Micky Ching rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. Add it to file mfd/rts5227.c to support this chip. Signed-off-by: Micky Ching --- drivers/mfd/rts5227.c| 77 ++-- drivers/mfd/rtsx_pcr.c | 5 +++ dr

Hello Dear Friend ,

2015-04-16 Thread Ms. Carrie Reginato
Hello Dear Friend , Please i want you to read this letter very carefully and i must apologize for barging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and i know that this message will come to you as a surprise,

Re: [PATCH] mfd: rtsx: add support for rts522A

2015-04-16 Thread Giedrius Statkevičius
On Thu, 16 Apr 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. > Add it to file mfd/rts5227.c to support this chip. > > Signed-off-by: Micky Ching > --- Maybe update the Kconfig as well? So that the peopl

[PATCH -next] staging: unisys: virtpci: Remove unused including

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/unisys/virtpci/virtpci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/virtpci/virtpci.c b/drivers/staging/unisys/virtpci/virtpci.c index d5ad017..397e967 100644

[PATCH -next] staging: dt3155v4l: remove unused including

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c index e60a53e..7946ee

[PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Peter Senna Tschudin
As the first argument of gf_write64() was of type unsigned long, and as some calls to gf_write64() were casting the first argument from void * to u64 the compiler and/or sparse were printing warnings for casts of wrong sizes when compiling for i386. This patch changes the type of the first argumen

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Geert Uytterhoeven
On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin wrote: > --- a/drivers/staging/goldfish/goldfish_audio.c > +++ b/drivers/staging/goldfish/goldfish_audio.c > @@ -63,7 +63,7 @@ struct goldfish_audio { > #define AUDIO_READ(data, addr) (readl(data->reg_base + addr)) > #define AUDIO_WRI

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Dan Carpenter
On Thu, Apr 16, 2015 at 06:14:55PM +0200, Geert Uytterhoeven wrote: > On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin > wrote: > > --- a/drivers/staging/goldfish/goldfish_audio.c > > +++ b/drivers/staging/goldfish/goldfish_audio.c > > @@ -63,7 +63,7 @@ struct goldfish_audio { > > #define AU

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Alan Cox
On Thu, 2015-04-16 at 20:01 +0300, Dan Carpenter wrote: > On Thu, Apr 16, 2015 at 06:14:55PM +0200, Geert Uytterhoeven wrote: > > On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin > > wrote: > > > --- a/drivers/staging/goldfish/goldfish_audio.c > > > +++ b/drivers/staging/goldfish/goldfish_aud

[PATCH] staging: fbtft: force cast to non-__iomem pointer

2015-04-16 Thread Garret Kelly
fbtft uses fb_info's screen_base field to store a non-__iomem allocation. Cast away the __iomem qualifier when freeing the pointer to suppress the sparse warning. Fixes the following sparse warnings: drivers/staging/fbtft/fbtft-core.c:918:19: warning: incorrect type in argument 1 (different addr

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Peter Senna Tschudin
On Thu, Apr 16, 2015 at 7:05 PM, Alan Cox wrote: > On Thu, 2015-04-16 at 20:01 +0300, Dan Carpenter wrote: >> On Thu, Apr 16, 2015 at 06:14:55PM +0200, Geert Uytterhoeven wrote: >> > On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin >> > wrote: >> > > --- a/drivers/staging/goldfish/goldfish_a

[PATCH 1/7] staging: rtl8188eu: remove duplicated comments

2015-04-16 Thread Luca Ceresoli
There are identical comments near the static variable declaration, around lines 118~120. Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/sta

[PATCH 2/7] staging: rtl8188eu: fix comments over 80 characters

2015-04-16 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 38 ++--- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index 61b8572..c944b14 100644

[PATCH 4/7] staging: rtl8188eu: simplify nested ifs

2015-04-16 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index e5e9235..9cd3a84 100644 --- a/drivers/staging/r

[PATCH 3/7] staging: rtl8188eu: document enum where it is declared

2015-04-16 Thread Luca Ceresoli
The comment "/* open system */" is repeated verbatim in several places where dot11AuthAlgrthm_Open is referenced, but not where it is declared. Move it to be only at its declaration. This also fixes some "line over 80 characters" checkpatch warnings. Signed-off-by: Luca Ceresoli --- drivers/st

[PATCH 5/7] staging: rtl8188eu: fix lines over 80 characters

2015-04-16 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index 9cd3a84..ba7565f 100644 --- a/dri

[PATCH 7/7] staging: rtl8188eu: remove commented code

2015-04-16 Thread Luca Ceresoli
This code is commented since the initial commit. Probably it is a remnant of old code. Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/stagi

[PATCH 6/7] staging: rtl8188eu: remove useless comment

2015-04-16 Thread Luca Ceresoli
"step 2" does mean much as there is no "step 1" stated anywhere... Signed-off-by: Luca Ceresoli --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index ba75

[PATCH v2] mfd: rtsx: add support for rts522A

2015-04-16 Thread micky_ching
From: Micky Ching rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. Add it to file mfd/rts5227.c to support this chip. Signed-off-by: Micky Ching --- drivers/mfd/Kconfig | 7 ++-- drivers/mfd/rts5227.c| 77 ++-- d