Re: [PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Sascha Hauer
On Mon, Jun 16, 2014 at 12:11:18PM +0200, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > ChangeLog v13->v14: > - Rebased > ChangeLog 12->v13: > - No changes > ChangeLog 11->v12: > - Improved the define names to match the hardware: > ENABLE_POL is not a clock signal but instead an en

great proposition for us.

2014-06-24 Thread Roberts Barton
Good day, I have something of importance which you will be interested in, it will be my utmost appreciation if you contact me so I can furnish you with details. Roberts ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproje

[PATCH 6/8] staging: rtl8712: remove function get_list_head

2014-06-24 Thread James A Shackleford
get_list_head is an inline that returns &list->head. This patch removes this inline and directly applies &list->head where applicable. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_recv.c| 15 +++-

[PATCH 4/8] staging: rtl8712: remove wrapper function list_delete

2014-06-24 Thread James A Shackleford
list_delete is just an inline wrapper around list_del_init. This patch removes the wrapper and directly uses list_del_init. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_recv.c|8 drivers/staging/r

[PATCH 7/8] staging: rtl8712: remove wrapper function _queue_empty

2014-06-24 Thread James A Shackleford
_queue_empty is an inline wrapper around list_empty. This patch removes this wrapper function and instead calls list_empty directly. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_cmd.c |2 +- drivers/st

[PATCH 2/8] staging: rtl8712: remove wrapper function is_list_empty

2014-06-24 Thread James A Shackleford
is_list_empty is just an inline wrapper around list_empty. This patch removes the wrapper and directly uses list_empty instead. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h | 10 +- drivers/staging/rtl8712/rtl8712_recv.c |4 ++-- drivers/staging/

[PATCH 3/8] staging: rtl8712: remove wrapper function list_insert_tail

2014-06-24 Thread James A Shackleford
list_insert_tail is just an inline wrapper around list_add_tail. This patch removes the wrapper and directly uses list_add_tail. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |6 -- drivers/staging/rtl8712/rtl8712_recv.c| 10 +- drivers/s

[PATCH 8/8] staging: rtl8712: remove inapplicable comment

2014-06-24 Thread James A Shackleford
Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 77b1443..3dfc473 100644 --- a/drivers/staging/rtl8712/osdep_service.h

[PATCH 5/8] staging: rtl8712: remove wrapper function get_next

2014-06-24 Thread James A Shackleford
get_next is just an inline wrapper around return list->next. This patch removes the wrapper and directly uses list->next where applicable. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_recv.c| 14

[PATCH 1/8] staging: rtl8712: remove wrapper function _init_listhead

2014-06-24 Thread James A Shackleford
_init_listhead is just an inline wrapper around INIT_LIST_HEAD. This patch removes the wrapper and directly uses INIT_LIST_HEAD instead. Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |7 +-- drivers/staging/rtl8712/rtl8712_recv.c|4 ++-- driver

ACPI Support for HP Pavillion laptops

2014-06-24 Thread Chetal Patil
Hi, I recently joined the Linux Driver Development mailing list and would like to contribute to the Linux Driver Project. Specifically, I would like to contribute by working on ACPI Support for HP Pavillion laptops (Referred list at http://www.linuxdriverproject.org/mediawiki/index.php/Drivers_Nee

Re: [PATCH v14 05/10] ARM: dts: imx5*, imx6*: correct display-timings nodes.

2014-06-24 Thread Shawn Guo
On Tue, Jun 24, 2014 at 04:01:58PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 16, 2014 at 12:11:19PM +0200, Denis Carikli wrote: > > The imx-drm driver can't use the de-active and > > pixelclk-active display-timings properties yet. > > > > Instead the data-enable and the pixel data clock

[PATCH] staging: gdm72xx: check return value of sscanf

2014-06-24 Thread Ben Chan
Signed-off-by: Ben Chan --- drivers/staging/gdm72xx/gdm_wimax.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c index e5e5115..3081fd4 100644 --- a/drivers/staging/gdm72xx/gdm_wimax.c +++ b/drivers

Re: [PATCH v14 06/10] drm: drm_display_mode: add signal polarity flags

2014-06-24 Thread Thierry Reding
On Tue, Jun 24, 2014 at 03:57:46PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 16, 2014 at 12:11:20PM +0200, Denis Carikli wrote: > > We need a way to pass signal polarity informations > > between DRM panels, and the display drivers. > > > > To do that, a pol_flags field was added to dr

Re: [PATCH] staging: rtl8723au: fix sparse warning

2014-06-24 Thread Jes Sorensen
Clement Calmels writes: > From: Clément Calmels > > Found running sparse on the rtl8723au driver. > > CHECK drivers/staging/rtl8723au/core/rtw_cmd.c > drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54: warning: incorrect type in > argument 2 (different base types) > drivers/staging/rtl8723au/

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Thierry Reding
On Tue, Jun 24, 2014 at 11:56:39PM +0200, Eric Bénard wrote: > Hi Thierry, > > Le Tue, 24 Jun 2014 23:49:37 +0200, > Thierry Reding a écrit : > > > On Mon, Jun 16, 2014 at 12:11:22PM +0200, Denis Carikli wrote: > > [...] > > > diff --git > > > a/Documentation/devicetree/bindings/panel/eukrea,mb

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Thierry Reding
On Tue, Jun 24, 2014 at 02:52:11PM -0500, Rob Herring wrote: > On Tue, Jun 24, 2014 at 10:06 AM, Russell King - ARM Linux > wrote: [...] > > On Mon, Jun 16, 2014 at 12:11:22PM +0200, Denis Carikli wrote: [...] > >> diff --git > >> a/Documentation/devicetree/bindings/panel/eukrea,mbimxsd51-dvi-vg

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Eric Bénard
Hi Thierry, Le Tue, 24 Jun 2014 23:49:37 +0200, Thierry Reding a écrit : > On Mon, Jun 16, 2014 at 12:11:22PM +0200, Denis Carikli wrote: > [...] > > diff --git > > a/Documentation/devicetree/bindings/panel/eukrea,mbimxsd51-dvi-svga.txt > > b/Documentation/devicetree/bindings/panel/eukrea,mbim

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Thierry Reding
On Mon, Jun 16, 2014 at 12:11:22PM +0200, Denis Carikli wrote: [...] > diff --git > a/Documentation/devicetree/bindings/panel/eukrea,mbimxsd51-dvi-svga.txt > b/Documentation/devicetree/bindings/panel/eukrea,mbimxsd51-dvi-svga.txt [...] > @@ -0,0 +1,7 @@ > +Eukrea DVI-SVGA (800x600 pixels) DVI out

RE: [PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-06-24 Thread Dexuan Cui
>On Tue, Jun 24, 2014 at 08:29:17AM +0800, Dexuan Cui wrote: >> Currently the VSC has no chance to notify the VSP of the dirty rectangle on >> VM >> panic because the notification work is done in a workqueue, and in panic() >> the >> kernel typically ends up in an infinite loop, and a typical ker

[PATCH] staging: rtl8723au: fix sparse warning

2014-06-24 Thread Clement Calmels
From: Clément Calmels Found running sparse on the rtl8723au driver. CHECK drivers/staging/rtl8723au/core/rtw_cmd.c drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54: warning: incorrect type in argument 2 (different base types) drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54:expected int

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Rob Herring
On Tue, Jun 24, 2014 at 10:06 AM, Russell King - ARM Linux wrote: > Denis, > > This patch creates binding documentation. Any patch which does so > should be copied to the DT people so they can review the bindings > and give appropriate acks. It would be better if you separate the > binding docum

[PATCH RFC v2 5/8] imx-drm: update to use component match support

2014-06-24 Thread Russell King
Update the imx-drm driver to use the component match support rather than add_components. Signed-off-by: Russell King --- drivers/staging/imx-drm/imx-drm-core.c | 57 +++--- 1 file changed, 4 insertions(+), 53 deletions(-) diff --git a/drivers/staging/imx-drm/imx-drm-

[PATCH RFC v2 8/8] component: track components via array rather than list

2014-06-24 Thread Russell King
Since we now have an array which defines each component, maintain the components to be bound in the array rather than a separate list. We also need duplicate tracking so we can eliminate multiple bind calls for the same component: we preserve the list-based component order in that the first match

[PATCH RFC v2 3/8] component: add support for component match array

2014-06-24 Thread Russell King
Add support for generating a set of component matches at master probe time, and submitting them to the component layer. This allows the component layer to perform the matches internally without needing to call into the master driver, and allows for further restructuring of the component helper. S

[PATCH RFC v2 7/8] component: move check for unbound master into try_to_bring_up_masters()

2014-06-24 Thread Russell King
Clean up the code a little; we don't need to check that the master is unbound for every invocation of try_to_bring_up_master(), so let's move it to where it's really needed - try_to_bring_up_masters(), where we may encounter already bound masters. Signed-off-by: Russell King --- drivers/base/com

[PATCH RFC v2 1/8] component: fix missed cleanup in case of devres failure

2014-06-24 Thread Russell King
In try_to_bring_up_master(), we tear down the master's component list for each error case, except for devres group failure. Fix this oversight by making the code less prone to such mistakes. Signed-off-by: Russell King --- drivers/base/component.c | 62 --

[PATCH RFC v2 4/8] drm: msm: update to use component match support

2014-06-24 Thread Russell King
Update MSM's DRM driver to use the component match support rather than add_components. Signed-off-by: Russell King --- drivers/gpu/drm/msm/msm_drv.c | 83 ++- 1 file changed, 35 insertions(+), 48 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/d

[PATCH RFC v2 6/8] component: remove old add_components method

2014-06-24 Thread Russell King
Now that drivers create an array of component matches at probe time, we can retire the old methods. This involves removing the add_components master method, and removing component_master_add_child() from public view. We also remove component_add_master() as that interface is no longer useful. Si

[PATCH RFC v2 2/8] component: ignore multiple additions of the same component

2014-06-24 Thread Russell King
Permit masters to call component_master_add_child() and match the same child multiple times. This may happen if there's multiple connections to a single component device from other devices. In such scenarios, we should not return a failure, but instead ignore the attempt. Signed-off-by: Russell

[PATCH RFC v2 0/8] component helper improvements

2014-06-24 Thread Russell King - ARM Linux
A while back, Laurent raised some comments about the component helper, which this patch set starts to address. The first point it addresses is the repeated parsing inefficiency when deferred probing occurs. When DT is used, the structure of the component helper today means that masters end up par

Re: [PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 24, 2014 at 06:25:19PM +0200, Denis Carikli wrote: > On 06/24/2014 05:13 PM, Russell King - ARM Linux wrote: > [...] >> If you'd like to send me better commit messages for >> these patches, I'll add them to what I already have: > >> imx-drm: use defines for clock polarity settings

Re: [PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Denis Carikli
On 06/24/2014 05:13 PM, Russell King - ARM Linux wrote: [...] If you'd like to send me better commit messages for these patches, I'll add them to what I already have: imx-drm: use defines for clock polarity settings The comment of the clk_pol field of the ipu_di_signal_cfg struct was

Re: [PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:18PM +0200, Denis Carikli wrote: > Signed-off-by: Denis Carikli It would be nice to have a little more explanation in the commit messages for these patches. If you'd like to send me better commit messages for these patches, I'll add them to what I already have:

Re: [PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Russell King - ARM Linux
Denis, This patch creates binding documentation. Any patch which does so should be copied to the DT people so they can review the bindings and give appropriate acks. It would be better if you separate the binding documentation updates from the other functional changes too. I've added them on th

Re: [PATCH v14 05/10] ARM: dts: imx5*, imx6*: correct display-timings nodes.

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:19PM +0200, Denis Carikli wrote: > The imx-drm driver can't use the de-active and > pixelclk-active display-timings properties yet. > > Instead the data-enable and the pixel data clock > polarity are hardcoded in the imx-drm driver. > > So theses properties are now s

Re: [PATCH v14 06/10] drm: drm_display_mode: add signal polarity flags

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:20PM +0200, Denis Carikli wrote: > We need a way to pass signal polarity informations > between DRM panels, and the display drivers. > > To do that, a pol_flags field was added to drm_display_mode. > > Signed-off-by: Denis Carikli This patch needs an ack from the

Re: Anybody working on line6?

2014-06-24 Thread Stefan Hajnoczi
On Tue, Jun 24, 2014 at 9:52 PM, Greg KH wrote: > On Tue, Jun 24, 2014 at 11:54:10AM +0800, Stefan Hajnoczi wrote: >> On Tue, Jun 24, 2014 at 4:23 AM, Kristina Martšenko >> wrote: >> > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that >> > nobody seems to have worked toward

Re: Anybody working on line6?

2014-06-24 Thread Greg KH
On Tue, Jun 24, 2014 at 11:54:10AM +0800, Stefan Hajnoczi wrote: > On Tue, Jun 24, 2014 at 4:23 AM, Kristina Martšenko > wrote: > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > > nobody seems to have worked towards moving line6 out of staging in over > > a year. Are t

Re: [PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-06-24 Thread Greg KH
On Tue, Jun 24, 2014 at 08:29:17AM +0800, Dexuan Cui wrote: > Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM > panic because the notification work is done in a workqueue, and in panic() the > kernel typically ends up in an infinite loop, and a typical kernel config h

Re: Anybody working on ced1401?

2014-06-24 Thread Greg KH
On Tue, Jun 24, 2014 at 11:14:40AM +0200, Luca Ellero wrote: > On 23/06/2014 22:19, Kristina Martšenko wrote:> Hi Angelo, > > > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > > nobody seems to have worked towards moving quickstart out of staging in > > over a year. Are

Re: Anybody working on gdm72xx?

2014-06-24 Thread Greg KH
On Tue, Jun 24, 2014 at 12:12:55AM -0700, Ben Chan wrote: > On Mon, Jun 23, 2014 at 2:33 PM, Kristina Martšenko > wrote: > > > > Here is an example of another driver being moved out: > > http://www.spinics.net/lists/linux-usb/msg100924.html > > > > Thanks Kristina. checkpatch reports 1 errors an

[PATCH 31/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): obtain key from key_params

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 33/43] staging: rtl8723au: Stop setting ieee_parm arguments that aren't used

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 37 --- 1 file changed, 37 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index 624966e..

[PATCH 42/43] staging: rtl8723au: Only validate vendor specific ies, when they it is vendor specific

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Don't run rtw_validate_vendor_specific_ies() on anything but WLAN_EID_VENDOR_SPECIFIC. In addition use the proper WLAN_OUI_TYPE_MICROSOFT_* definitions. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 7 --- 1 file changed, 4 insertions(+)

[PATCH 41/43] staging: rtl8723au: rtw_append_pmkid(): Adjust for IEs array not arrying fixed elements

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Another case using hard coded offsets counting on the presence of fixed beacon elements in the IEs array. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723

[PATCH 30/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Pass key_index argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 62 ++- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 14/43] staging: rtl8723au: Stop carrying half the beacon frame header in the stored IE array

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen This gets rid of the odd carrying of half the beacon frame in the IE array stored for the network. Instead we rely on the relevant fields (timestamp, beacon_interval, and capability) stored in struct wlan_bssid_ex. Carrying only half the ieee80211_mgmt header led to a number o

[PATCH 06/43] staging: rtl8723au: rtw_check_beacon_data23a(): Capability is already uptodate in cur_network

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Beacon capability was already added to mlme_priv->cur_network before calling this function, so no need to retrieve it from the IE array again. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-)

[PATCH 40/43] staging: rtl8723au: rtw_restruct_wmm_ie23a(): Use cfg80211_find_vendor_ie()

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Rewrite rtw_restruct_wmm_ie23a() using cfg80211_find_vendor_ie() Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 34 --- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw

[PATCH 39/43] staging: rtl8723au: Eliminate set_wep_key() and call set_group_key() directly

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen This also eliminates another round of determine algorithm based on key length, followed by determine key length based on algorithm. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 45 +++ 1 file changed, 6 insertions(+)

[PATCH 27/43] staging: rtl8723au: rtw_cfg80211_set_encryption(): Use key_params->cipher

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Use key_params->cipher to determine WEP/TKIP Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8

[PATCH 17/43] staging: rtl8723au: Remove unused #define P80211CAPTURE_VERSION

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/wifi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index b82b0d0..fd3da3b 100644 --- a/drivers/staging/rtl8723au/inc

[PATCH 37/43] staging: rtl8723au: Remove obsolete struct ieee_parm

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ieee80211.h | 50 --- 1 file changed, 50 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ieee80211.h b/drivers/staging/rtl8723au/include/ieee80211.h index 0b17a7f..e9f465f

[PATCH 43/43] staging: rtl8723au: OnAssocReq23a(): Use cfg80211_find_vendor_ie() to locate VMM

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 62 +-- 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index

[PATCH 32/43] staging: rtl8723au: rtw_cfg80211_{ap_}set_encryption(): Add set_tx argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 35/43] staging: rtl8723au: rtw_cfg80211_{ap_}set_encryption(): Add sta_addr argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c inde

[PATCH 34/43] staging: rtl8723au: rtw_cfg80211_{ap_}set_encryption(): No more string parsing to determine cipher

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 37 --- 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 23/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Stop using param->u.crypt.alg

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c i

[PATCH 07/43] staging: rtl8723au: Use _FIXED_IE_LEN_ instead of hard coded value

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen This should help catching all the users once we stop carrying the fixed beacon elements in the IE array. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 14 -- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +- 2 files changed,

[PATCH 15/43] staging: rtl8723au: Get rid of obsolete _FIXED_IE_LENGTH_ + _BEACON_IE_OFFSET

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c | 68 +++ drivers/staging/rtl8723au/core/rtw_mlme.c | 19 ++- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 41 +- drivers/staging/rtl8723au/hal

[PATCH 24/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Use keyparms->cipher to set WEP size

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen We already know which type of WEP we are using when we get here, no point trying to determine it from key_len. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 32 +-- 1 file changed, 7 insertions(+), 25 deletions(-) di

[PATCH 22/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Use key len from struct key_params

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 55 ++- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 21/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption() is only called for WIFI_AP_STATE

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen No point checking it again in here, twice! Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 237 ++ 1 file changed, 110 insertions(+), 127 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/d

[PATCH 20/43] staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Use key_params->cipher to determine encryption

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Passing strings around for something we have defines for is just silly. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 47 +++ 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8723au/o

[PATCH 26/43] staging: rtl8723au: rtw_cfg80211_set_encryption(): Obtain key_len from struct key_params

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 28 +-- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 25/43] staging: rtl8723au: rtw_cfg80211_set_encryption(): Pass additional struct key_params

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index c0b0cb1..7c

[PATCH 38/43] staging: rtl8723au: Validate keys in cfg80211_rtw_add_key()

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen We validate the parameters in cfg80211_rtw_add_key() so no need to do it all again in rtw_cfg80211_{ap_}set_encryption() Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 76 ++- 1 file changed, 19 insertions(+), 57 delet

[PATCH 36/43] staging: rtl8723au: rtw_cfg80211_{ap_}set_encryption(): Stop passing ieee_parms argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen struct ieee_parms is obsolete, so stop passing it on. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

[PATCH 16/43] staging: rtl8723au: Remove unused #define EID_BSSIntolerantChlReport

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/wifi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index 23026e9..b82b0d0 100644 --- a/drivers/staging/rtl8723au/inc

[PATCH 12/43] staging: rtl8723au: issue_beacon23a(): Determine ie buffer location using 80211_mgmt

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index cb882fb..ebd3743 1006

[PATCH 29/43] staging: rtl8723au: rtw_cfg80211_set_encryption(): Pass key_index as argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 35 +-- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211

[PATCH 18/43] staging: rtl8723au: rtw_get_wps_attr_content23a(): Remove unused argument

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 9 + drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8723au/include/ieee80211.h | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/

[PATCH 08/43] staging: rtl8723au: ConstructProbeRsp(): Use struct ieee80211_mgmt

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Use ieee80211_mgmt to construct the frame instead of relying on hard coded offsets. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_cmd.c | 31 +--- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/staging

[PATCH 28/43] staging: rtl8723au: rtw_cfg80211_set_encryption(): Obtain key from key_params->key

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c ind

[PATCH 19/43] staging: rtl8723au: Remove unused RSN_VERSION_BSD23A

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 1 - drivers/staging/rtl8723au/include/ieee80211.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee8

[PATCH 09/43] staging: rtl8723au: Remove no-op CheckFwRsvdPageContent23a()

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_cmd.c | 5 - drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 -- drivers/staging/rtl8723au/include/rtl8723a_cmd.h | 2 -- 3 files changed, 9 deletions(-) diff --git a/drivers/staging/rtl87

[PATCH 00/43] staging: rtl8723au: Clean up becaon frame handling

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Greg, Please find attach my latest changeset for the rtl8723au. The primary change is how we handle the beacon frame information within the driver. Previously the driver would keep half of the ieee80211 management frame plus the IE (information elements), which was a mess sinc

[PATCH 05/43] staging: rtl8723au: rtw_add_beacon(): Construct a full beacon frame for validation

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Clean up and correct the beacon frame validation using a full beacon frame, and pass that to rtw_check_beacon_data23a(). Previous we went through hoops to construct the frame, minus the ieee80211_3addr header which just made it more complicated, and resulted in inconsistencies

[PATCH 02/43] staging: rtl8723au: Remove usage of _{RE, }ASOCREQ_IE_OFFSET_

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index 6c06

[PATCH 01/43] staging: rtl8723au: Remove unused size defines for mgmt frame elements

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/wifi.h | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index 3f64546..bd581ec 100644 --- a/drivers/staging/

[PATCH 03/43] staging: rtl8723au: Remove unused IE offset #defines

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/wifi.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index bd581ec..d07fd12 100644 --- a/drivers/staging/rtl8723

[PATCH 10/43] staging: rtl8723au: Remove unused dump_txrpt_ccx_8723a()

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_xmit.c | 21 - drivers/staging/rtl8723au/include/rtl8723a_xmit.h | 1 - 2 files changed, 22 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_xmit.c b/drivers/stag

[PATCH 04/43] staging: rtl8723au: rtw_get_cur_max_rate(): Use _FIXED_IE_LENGTH_ instead of hardcoded value

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index ebb98a0..958

[PATCH 11/43] staging: rtl8723au: issue_beacon23a(): Fix another case issuing a corrupted beacon

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index 6791ad7..cb882fb 100644 --- a/drivers/staging

[PATCH 13/43] staging: rtl8723au: rtw_generate_ie23a(): update network info as well as IE

2014-06-24 Thread Jes . Sorensen
From: Jes Sorensen We need to make sure to update the network info as well as the IE array. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee

Re: [PATCH 00/29] staging: comedi: dt282x: cleanup driver

2014-06-24 Thread Ian Abbott
On 2014-06-20 21:12, H Hartley Sweeten wrote: This series cleans up the comedi dt282x driver. H Hartley Sweeten (29): staging: comedi: dt282x: remove forward declarations staging: comedi: dt282x: move boardinfo declaration staging: comedi: dt282x: remove '= 0' boardinfo staging: come

Re: [PATCH 29/29] staging: comedi: dt282x: automatically handle D/A data format

2014-06-24 Thread Ian Abbott
On 2014-06-23 18:45, Hartley Sweeten wrote: On Monday, June 23, 2014 8:10 AM, Ian Abbott wrote: On 2014-06-20 21:13, H Hartley Sweeten wrote: The DT2821 series board have jumpers that set the output range for the two Analog Output channels. The range_table for the Analog Output subdevice provid

Re: [PATCH 00/22] Add and use pci_zalloc_consistent

2014-06-24 Thread Johannes Berg
On Tue, 2014-06-24 at 09:27 +1000, Julian Calaby wrote: > > - x = (T)pci_alloc_consistent(E1,E2,E3); > > + x = pci_zalloc_consistent(E1,E2,E3); > > if ((x==NULL) || ...) S > > - memset((T2)x,0,E2); > > I don't know much about SmPL, but wouldn't having that if statement > there reduce your match

Re: XVME 6300 with TSI148 bridge on 64 bit Debian (Linux 3.2.57) vme_user issue

2014-06-24 Thread Martyn Welch
On 23/06/14 16:05, Maurice Moss wrote: Hi All, Thanks for your reply. I have been away the last few weeks. Dan, I am using 64 bit Debian 3.2.57. So I am not using the latest kernel. Would this be a problem? That's probably quite old now. Depending on your hardware there may be important

Re: Anybody working on ced1401?

2014-06-24 Thread Luca Ellero
On 23/06/2014 22:19, Kristina Martšenko wrote:> Hi Angelo, > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > nobody seems to have worked towards moving quickstart out of staging in > over a year. Are there any plans to clean it up and move it out soon? > Because otherw

[PATCH staging-next] staging: gdm72xx: fix block comment style

2014-06-24 Thread Ben Chan
This patch fixes the following checkpatch warnings, which are issued when the gdm72xx driver is moved out of staging into drivers/net/wimax: WARNING: networking block comments don't use an empty /* line, use /* Comment... WARNING: networking block comments start with * on subsequent lines W

[PATCH staging-next] staging: gdm72xx: remove blank lines after an open brace

2014-06-24 Thread Ben Chan
This patch fixes the following checkpatch warning: CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Ben Chan --- drivers/staging/gdm72xx/gdm_usb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_usb.c b/drivers/staging/gdm72xx/gdm_u

Re: Anybody working on gdm72xx?

2014-06-24 Thread Ben Chan
On Mon, Jun 23, 2014 at 2:33 PM, Kristina Martšenko wrote: > > Here is an example of another driver being moved out: > http://www.spinics.net/lists/linux-usb/msg100924.html > Thanks Kristina. checkpatch reports 1 errors and 17 warnings on the current driver. I guess I need to first submit patch