[PATCH] Staging: crystalhd: use vfree() instead of kfree()

2013-10-10 Thread Wei Yongjun
From: Wei Yongjun Use vfree() instead of kfree() to free vmalloc() allocated data. Signed-off-by: Wei Yongjun --- drivers/staging/crystalhd/crystalhd_lnx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/crystalhd/crystalhd_lnx.c b/drivers/staging/crystalhd

[Trivial PATCH] staging: Remove unnecessary semicolons

2013-10-10 Thread Joe Perches
These aren't necessary after switch, if and while statements. Also remove some unnecessary braces where these semicolons were removed around single statement and some unnecessary blank lines. Signed-off-by: Joe Perches --- drivers/staging/iio/adc/ad7291.c| 2 +- drivers/staging

[PATCH 06/10] staging: octeon-usb: use dynamic allocation for pipes

2013-10-10 Thread Aaro Koskinen
Use dynamic memory allocation for pipes. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 40 +++-- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hc

[PATCH 09/10] staging: octeon-usb: use list.h for pipes

2013-10-10 Thread Aaro Koskinen
Use list.h helpers for pipes. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 105 1 file changed, 24 insertions(+), 81 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index

[PATCH 02/10] staging: octeon-usb: delete cvmx_usbnx_clk_ctl_cn50xx

2013-10-10 Thread Aaro Koskinen
Add the missing bits to common clk ctl definition, and we can delete duplicated definitions. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usbnx-defs.h | 105 +++ drivers/staging/octeon-usb/octeon-hcd.c | 8 +- 2 files changed, 15 insertions(+),

[PATCH 10/10] staging: octeon-usb: use list.h for transactions

2013-10-10 Thread Aaro Koskinen
Use list.h helpers for transactions. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 77 +++-- 1 file changed, 36 insertions(+), 41 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c

[PATCH 01/10] staging: octeon-usb: delete unused cvmx_usbnx_usbp_ctl_status definitions

2013-10-10 Thread Aaro Koskinen
cvmx_usbnx_usbp_ctl_status was multiplied for different OCTEONS and all those definitions are unused. Delete them. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usbnx-defs.h | 382 --- 1 file changed, 382 deletions(-) diff --git a/drivers/staging/octeo

[PATCH 05/10] staging: octeon-usb: use dynamic allocation for transactions

2013-10-10 Thread Aaro Koskinen
Use dynamic memory allocation for transactions. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 75 + 1 file changed, 2 insertions(+), 73 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/oc

[PATCH 03/10] staging: octeon-usb: CN3xxx: program p_xenbn and p_rclk through p_rtype

2013-10-10 Thread Aaro Koskinen
Do the clock setup through p_rtype on all OCTEONs. This enables to get rid of duplicated register definitions. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usbnx-defs.h | 111 --- drivers/staging/octeon-usb/octeon-hcd.c | 22 ++ 2 files chang

[PATCH 08/10] staging: octeon-usb: use list_for_each_entry_safe()

2013-10-10 Thread Aaro Koskinen
Use list_for_each_entry_safe() when deleting all list items. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index

[PATCH 00/10] staging: octeon-usb: cleanups for .h & data structures

2013-10-10 Thread Aaro Koskinen
Hi, This series does the following: Patches 1-4: Delete redundant definitions and create a single .h for the driver. Patches 5-10: Allocate pipes and transactions dynamically, also use Linux list.h for implementing linked lists. Tested on EdgeRouter Lite with USB mass st

[PATCH 07/10] staging: octeon-usb: use list_del_init()

2013-10-10 Thread Aaro Koskinen
Replace list_del() + INIT_LIST_HEAD() with list_del_init(). Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c

notificación de e-mail

2013-10-10 Thread Web de administración
Web de administración de notificación de e-mail Este mensaje es de nuestro centro de mensajes de administración para toda nuestra cuenta de correo electrónico owners.We está eliminando el acceso a todos nuestros clientes de correo web. Su correo electrónico cuenta se actualizará a una interfaz

notificación de e-mail

2013-10-10 Thread Web de administración
Web de administración de notificación de e-mail Este mensaje es de nuestro centro de mensajes de administración para toda nuestra cuenta de correo electrónico owners.We está eliminando el acceso a todos nuestros clientes de correo web. Su correo electrónico cuenta se actualizará a una interfaz

[PATCH 10/11] staging: drm/imx: add drm plane support

2013-10-10 Thread Philipp Zabel
This patch adds support for a drm overlay plane on DI0 using the DP. In principle, the overlay plane could also be used on DI1, but to switch the overlay plane between display interfaces, the base planes would have to be exchanged transparently while both display interfaces are inactive. Signed-of

[PATCH 07/11] staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index 574633b..f63931b 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging

[PATCH 11/11] staging: drm/imx: Enable DRM PRIME support

2013-10-10 Thread Philipp Zabel
Lets the IPU driver make use of the PRIME functionality introduced by the "drm: GEM CMA: Add DRM PRIME support" patch. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/imx-drm-core.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/staging/imx-drm/i

[PATCH 05/11] staging: drm/imx: Add 24-bit BGR support to DC

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/ipu-dc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c b/drivers/staging/imx-drm/ipu-v3/ipu-dc.c index 21bf1c8..1a6e06d 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c +++

[PATCH 0/11] i.MX RGB565, plane and PRIME support

2013-10-10 Thread Philipp Zabel
Hi, This series fixes DMFC allocation for small displays and pageflip events during device close, clarifies the RGB memory formats, adds support for the RGB565 format and KMS planes, and enables DRM PRIME using the CMA helpers. In the next step, I would like to move the code from drivers/staging/

[PATCH 04/11] staging: drm/imx: add BGR565 format

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c b/drivers/staging/imx-drm/ipu-v3/ipu-common.c index 54466df..f90bdb4 100644 --- a/drivers/staging/imx-drm/ipu-

[PATCH 02/11] staging: drm/imx: make struct ipu_rgb format definitions const

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 2 +- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h b/drivers/staging/imx-drm/ipu-v3/imx-ipu

[PATCH 06/11] staging: drm/imx: make waiting for idle channel optional

2013-10-10 Thread Philipp Zabel
From: Sascha Hauer Currently we wait for a channel until it's idle before actually disabling it. This is not needed for all channels though, so make waiting for idle a separate function and call it where necessary. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel --- drivers/staging/i

[PATCH 03/11] staging: drm/imx: fix RGB formats, make ipu_cpmem_set_fmt take a drm_fourcc

2013-10-10 Thread Philipp Zabel
The drm fourccs define formats not available as video4linux pixel formats, such as DRM_FORMAT_BGR565, or the DRM_FORMAT_RGBX/BGRX variants. Also, contrary to the v4l2 formats, the drm formats are well defined. This patch also fixes the BGRA32 and RGB/RGB24 internal formats to use a common internal

[PATCH 01/11] staging: drm/imx: also allow to allocate only 2 DMFC slots for DP full plane

2013-10-10 Thread Philipp Zabel
Connecting a 320x240 parallel display on i.MX6 resulted in an invalid DRDY signal because the DC would not receive NL/EOL events on every line. Reducing the allocated DMFC space from 4 slots (256 * 128-bit) to 2 slots (128 * 128-bit) solved the problem. Signed-off-by: Philipp Zabel --- drivers/s

[PATCH 09/11] staging: drm/imx: fix pageflip events during device close

2013-10-10 Thread Philipp Zabel
From: Sascha Hauer During a device close the drm core frees all pending events in drm_events_release(). If at that time a pageflip is pending the interrupt handler will try to complete the now unitialized event resulting in a NULL pointer exception. Seen on imx-drm when userspace is killed during

[PATCH 08/11] staging: drm/imx: ipuv3-crtc: remove unused struct ipu_framebuffer

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-crtc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index f63931b..292abea 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/stagi

Re: [PATCH 01/28] staging: comedi: s626: tidy the header file a bit

2013-10-10 Thread Ian Abbott
On 2013-10-09 23:47, Hartley Sweeten wrote: On Tuesday, October 08, 2013 11:06 AM, Ian Abbott wrote: Tidy up the "s626.h" header file a bit, cleaning up the whitespace and fixing overlength lines. Add multiple inclusion protection (even though it's only included once and only by "s626.c"). Rem

Re: [PATCH 05/15] staging: rtl8192u: fix space at the start of lines in r819xU_cmdpkt.h

2013-10-10 Thread Dan Carpenter
On Thu, Oct 10, 2013 at 11:49:29AM +0300, Xenia Ragiadakou wrote: > Thx for reviewing! I fix this in the follow-on patch [PATCH 07/15] > that address alignment issues. > Yes. I saw that when I got to 7. Fine fine. regards, dan carpenter ___ devel ma

Re: [PATCH 05/15] staging: rtl8192u: fix space at the start of lines in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
On 10/10/2013 11:45 AM, Dan Carpenter wrote: On Thu, Oct 10, 2013 at 10:43:51AM +0300, Xenia Ragiadakou wrote: This patch fixes the following checkpatch warning: WARNING: please, no spaces at the start of a line Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 1

Re: [PATCH 05/15] staging: rtl8192u: fix space at the start of lines in r819xU_cmdpkt.h

2013-10-10 Thread Dan Carpenter
On Thu, Oct 10, 2013 at 10:43:51AM +0300, Xenia Ragiadakou wrote: > This patch fixes the following checkpatch warning: > WARNING: please, no spaces at the start of a line > > Signed-off-by: Xenia Ragiadakou > --- > drivers/staging/rtl8192u/r819xU_cmdpkt.h | 18 +- > 1 file change

Re: [PATCH 03/15] staging: rtl8192u: fix line size in r819xU_cmdpkt.h

2013-10-10 Thread Dan Carpenter
On Thu, Oct 10, 2013 at 10:43:49AM +0300, Xenia Ragiadakou wrote: > This patch reduces the line length below 80 chars to improve code readability. > > Signed-off-by: Xenia Ragiadakou > --- > drivers/staging/rtl8192u/r819xU_cmdpkt.h | 28 +++- > 1 file changed, 15 insertio

[PATCH 04/15] staging: rtl8192u: fix comments in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the comments in r819xU_cmdpkt.h by: * removing any empty or unnecessary comments * replacing the // comments with /* */ comments * removing date and author information from comments This is done to improve code readability and to conform to linux kernel coding style. Signed-off-b

[PATCH 2/3] staging: rtl8192u: remove ieee80211_crypt.h

2013-10-10 Thread Xenia Ragiadakou
This patch removes ieee80211_crypt.h because this header file is the same as ieee80211/ieee80211_crypt.h and the structures and functions declared in it are used directly only inside ieee80211/. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/ieee80211_crypt.h | 86 -

[PATCH 3/3] staging: rtl8192u: copy dot11d.h in ieee80211/dot11d.h and remove it

2013-10-10 Thread Xenia Ragiadakou
This patch copies the content of dot11d.h into ieee80211/dot11d.h and then removes it because practically the two header files are the same with the difference that in dot11d.h some checkpatch warnings have been corrected. This is done because the duplication of dot11d.h is unnecessary since the st

[PATCH 1/3] staging: rtl8192u: remove r8180_pm.c and r8180_pm.h

2013-10-10 Thread Xenia Ragiadakou
This patch removes r8180_pm.h and r8180_pm.c from rtl8192u because they are not used anywhere in the driver. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r8180_pm.c | 48 - drivers/staging/rtl8192u/r8180_pm.h | 28 -- 2 file

[PATCH 13/15] staging: rtl8192u: add space after ', ' in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch error: ERROR: space required after that ',' Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_HTType.h b/drivers/staging/rtl81

[PATCH 10/15] staging: rtl8192u: fix space around braces in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the white space around braces in r819xU_HTType.h according to the linux kernel coding style. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 62 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/driver

[PATCH 14/15] staging: rtl8192u: add parenthesis around complex macros in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch error: ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r819

[PATCH 11/15] staging: rtl8192u: fix comments in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes comments in r819xU_HTType.h by: * replacing // commments with /* */ comments * removing author and date information from comments * removing unnecessary comments This is done to improve code readability. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType

[PATCH 05/15] staging: rtl8192u: fix space at the start of lines in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch warning: WARNING: please, no spaces at the start of a line Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU

[PATCH 02/15] staging: rtl8192u: add space after } and , in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes white space after } and , so that the code becomes more readable and conforms to the linux kernel coding style. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH 09/15] staging: rtl8192u: use __packed instead of __attribute__((packed))

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 4 ++-- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 4 ++-- drivers/staging/rtl8192u/r819xU_phy.h| 2 +-

[PATCH 15/15] staging: rtl8192u: fix line size in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch warning in r819xU_HTType.h: WARNING: line over 80 characters Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_HTType.h b/driv

[PATCH 12/15] staging: rtl8192u: fix alignment in r819xU_HTType.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes some alignment issues in r819xU_HTType.h to impreove code readability. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_HTType.h | 174 +++ 1 file changed, 87 insertions(+), 87 deletions(-) diff --git a/drivers/staging/rtl8192u/r81

[PATCH 01/15] staging: rtl8192u: remove #ifdef JOHN_

2013-10-10 Thread Xenia Ragiadakou
This patch removes the guards #ifdef JOHN_HWSEC, #ifdef JOHN_DUMP_TXDESC and because the code inside them calls some undefined functions (e.g read_rtl8225, rtl8187_read_phy etc). Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r8192U.h | 8 -- drivers/staging/rtl8192u/r8192U_

[PATCH 03/15] staging: rtl8192u: fix line size in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch reduces the line length below 80 chars to improve code readability. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h

[PATCH 08/15] staging: rtl8192u: fix open brace position in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes the following checkpatch warning and error: WARNING: missing space after enum definition ERROR: open brace '{' following enum go on the same line Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(

[PATCH 06/15] staging: rtl8192u: fix space after ( in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch removes prohibited space after ( in r819xU_cmdpkt.h according to the linux kernel coding style convention. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_c

[PATCH 07/15] staging: rtl8192u: fix alignment in r819xU_cmdpkt.h

2013-10-10 Thread Xenia Ragiadakou
This patch fixes alignment issues in r819xU_cmdpkt.h to improve code readability. Signed-off-by: Xenia Ragiadakou --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/stag