Re: [PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Grygorii Strashko
On 12/23/2015 10:35 AM, Uri Mashiach wrote: > The power function uses a consumer regulator access to update the WiFi > enable GPIO value. > > Fix the below Oops when trying to modprobe wlcore_spi. > The oops occurs because the wl1271_power_{off,on}() > function doesn't check the power() function

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Grygorii Strashko
On 12/23/2015 10:35 AM, Uri Mashiach wrote: > Add DT support for the wl1271 SPI WiFi. > > Add documentation file for the wl1271 SPI WiFi. > > Signed-off-by: Uri Mashiach > Acked-by: Igor Grinberg > --- >

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:25 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg

Re: MediaTek WiFi hardware support in upstream kernel

2015-12-23 Thread poma
On 27.06.2015 22:45, poma wrote: > > mt7601u landed in 'linux-next' > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/drivers/net/wireless/mediatek/mt7601u > > the v4.2 kernel is predicted for Sunday, 2015-08-23 > http://phb-crystal-ball.org > > For the

[PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules

2015-12-23 Thread Heikki Krogerus
These are used with BCM43241 Wi-Fi/Bluetooth Combo Device. Signed-off-by: Heikki Krogerus --- net/rfkill/rfkill-gpio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 9312722..ba6d61d 100644 ---

Re: [PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:08 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: The power function uses a consumer regulator access to update the WiFi enable GPIO value. Fix the below Oops when trying to modprobe wlcore_spi. The oops occurs because the

Re: [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules

2015-12-23 Thread Marcel Holtmann
Hi Heikki, > These are used with BCM43241 Wi-Fi/Bluetooth Combo Device. > > Signed-off-by: Heikki Krogerus > --- > net/rfkill/rfkill-gpio.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c > index

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Tony Lindgren
* Uri Mashiach [151223 06:38]: > On 12/23/2015 12:25 PM, Grygorii Strashko wrote: > > >>+that services interrupts for this device > >>+- vwlan-supply :Point the node of the regulator that controls the > >>wl1271 chip WLAN_EN pin > > >

Re: [PATCH] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread Julian Calaby
Hi Glen, On Wed, Dec 23, 2015 at 1:33 PM, Glen Lee wrote: > wilc_sdio_init return always 1. It is needless, so just remove it and it's > related codes also. > > Signed-off-by: Glen Lee > --- > drivers/staging/wilc1000/wilc_sdio.c | 12 > 1

Re: [PATCH] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread glen lee
On 2015년 12월 24일 11:39, Julian Calaby wrote: Hi Glen, On Wed, Dec 23, 2015 at 1:33 PM, Glen Lee wrote: wilc_sdio_init return always 1. It is needless, so just remove it and it's related codes also. Signed-off-by: Glen Lee ---

Re: [PATCH] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread glen lee
On 2015년 12월 24일 12:07, Julian Calaby wrote: Hi Glen, On Thu, Dec 24, 2015 at 2:06 PM, glen lee wrote: On 2015년 12월 24일 11:39, Julian Calaby wrote: Hi Glen, On Wed, Dec 23, 2015 at 1:33 PM, Glen Lee wrote: wilc_sdio_init return always 1. It is

Re: [PATCH] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread Julian Calaby
Hi Glen, On Thu, Dec 24, 2015 at 2:06 PM, glen lee wrote: > > > On 2015년 12월 24일 11:39, Julian Calaby wrote: >> >> Hi Glen, >> >> On Wed, Dec 23, 2015 at 1:33 PM, Glen Lee wrote: >>> >>> wilc_sdio_init return always 1. It is needless, so just remove it

Re: [PATCH] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread Dan Carpenter
I kind of feel like we have started to err on the side of breaking things up into too many patches. Linus has said the same thing... This patch is not hard to review, except that the title was bad. Originally it was sent as: [PATCH] staging: wilc1000: fix bug in sdio/spi which is the correct

[PATCH 03/21] staging: wilc1000: rename pu8bssid in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pu8bssid to bssid to remove pu8 prefix. There is no need to add this prefix in order to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2

[PATCH 16/21] staging: wilc1000: rename u16ReasonCode in wilc_disconnect

2015-12-23 Thread Chaehyun Lim
This patch renames u16ReasonCode to reason_code to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 17/21] staging: wilc1000: remove wilc_free_join_params

2015-12-23 Thread Chaehyun Lim
wilc_free_join_params call kfree. There is no need to use wrapper function, so use kfree directly. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 3 ---

[PATCH 14/21] staging: wilc1000: use kmemdup instead of kmalloc and memcpy

2015-12-23 Thread Chaehyun Lim
This patch changes kmalloc/memcpy to kmemdup. It is also added error checking to return -ENOMEM if kmemdup is failed. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff

[PATCH 01/21] staging: wilc1000: fix return type of wilc_flush_join_req

2015-12-23 Thread Chaehyun Lim
This patch changes return type of wilc_flush_join_req from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 02/21] staging: wilc1000: fix return type of wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch changes return type of wilc_set_join_req from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 18/21] staging: wilc1000: fix return type of wilc_get_rssi

2015-12-23 Thread Chaehyun Lim
This patch changes return type of wilc_get_rssi from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim ---

[PATCH 12/21] staging: wilc1000: rename u8channel in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames u8channel to channel to remove u8 prefix. There is no need to add prefix in order to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +-

[PATCH 11/21] staging: wilc1000: rename tenuAuth_type in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames tenuAuth_type to auth_type to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 13/21] staging: wilc1000: rename pJoinParams in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pJoinParams to join_params to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 06/21] staging: wilc1000: rename pu8IEs in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pu8IEs to ies to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 19/21] staging: wilc1000: rename ps8Rssi in wilc_get_rssi

2015-12-23 Thread Chaehyun Lim
This patch renames ps8Rssi to rssi_level to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 07/21] staging: wilc1000: rename IEsLen in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames IEsLen to ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 04/21] staging: wilc1000: rename pu8ssid in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pu8ssid to ssid to remove pu8 prefix. There is no need to add this prefix in order to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2

[PATCH 15/21] staging: wilc1000: fix return type of wilc_disconnect

2015-12-23 Thread Chaehyun Lim
This patch changes return type of wilc_disconnect from s32 to int. The result variable gets return value from wilc_disconnect that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 09/21] staging: wilc1000: rename pvUserArg in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pvUserArg to user_arg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: ath9k driver broken since kernel v4.2

2015-12-23 Thread Oleksij Rempel
Hi Bart Am 24.12.2015 um 08:34 schrieb Bart Van Assche: > Hello, > > The ath9k driver drops more than 90% of all packets with Linux kernel > v4.4-rc6 on my laptop. This behavior also occurs with kernel v4.2. > However, with Linux kernel versions v4.1.5 and v3.19.3 the ath9k driver > works fine

[PATCH v2 2/2] staging: wilc1000: remove wilc_sdio_init

2015-12-23 Thread Glen Lee
wilc_sdio_init return always 1, which is needless. Remove it and it's related codes also. Signed-off-by: Glen Lee --- Changes in v2: separate v1 patch into two patches. --- drivers/staging/wilc1000/wilc_sdio.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH v2 1/2] staging: wilc1000: fix always return 0 error

2015-12-23 Thread Glen Lee
This patch fixes a bug that return always 0 so it fails every time. Fixes: c1af9db78950 ("staging: wilc1000: call linux_sdio_init instead of io_init") Signed-off-by: Glen Lee --- Changes in v2: separate v1 patch into two patches. --- drivers/staging/wilc1000/wilc_sdio.c | 2

ath9k driver broken since kernel v4.2

2015-12-23 Thread Bart Van Assche
Hello, The ath9k driver drops more than 90% of all packets with Linux kernel v4.4-rc6 on my laptop. This behavior also occurs with kernel v4.2. However, with Linux kernel versions v4.1.5 and v3.19.3 the ath9k driver works fine on the same laptop. Is this report sufficient for one of the

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:25 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg

[PATCH 10/21] staging: wilc1000: rename u8security in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames u8security to security to remove u8 prefix. There is no need to add prefix in order to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +-

[PATCH 08/21] staging: wilc1000: rename pfConnectResult in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames pfConnectResult to connect_result to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 05/21] staging: wilc1000: rename ssidLen in wilc_set_join_req

2015-12-23 Thread Chaehyun Lim
This patch renames ssidLen to ssid_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 20/21] staging: wilc1000: fix return type of wilc_get_statistics

2015-12-23 Thread Chaehyun Lim
This patch changes return type of wilc_get_statistics from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH] NFC: nci: fix handling return value of nci_hci_create_pipe

2015-12-23 Thread Andrzej Hajda
The function return NCI_HCI_INVALID_PIPE in case of error. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda ---

Re: [PATCH] enable setting MAC address for r8723au

2015-12-23 Thread Jes Sorensen
Daniel Lenski writes: > On Mon, Dec 21, 2015 at 9:53 AM, Larry Finger > wrote: >> On 12/20/2015 08:28 PM, Dan Lenski wrote: >>> >>> Signed-off-by: Dan Lenski >> >> >> The commit message should be in this patch rather than in the

pull-request mwifiex-firmware 2015-12-23

2015-12-23 Thread Amitkumar Karwar
The following changes since commit 7f02df82736a85606cd9f33cb709545d9fc5326e: linux-firmware: update Marvell 8897-B0 firmware images to p112 (2015-01-27 16:02:53 +0530) are available in the git repository at: git://git.marvell.com/mwifiex-firmware.git master for you to fetch changes up to

[PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Uri Mashiach
The power function uses a consumer regulator access to update the WiFi enable GPIO value. Fix the below Oops when trying to modprobe wlcore_spi. The oops occurs because the wl1271_power_{off,on}() function doesn't check the power() function pointer. [ 23.401447] Unable to handle kernel NULL

[PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- .../bindings/net/wireless/ti,wlcore,spi.txt| 35 +++

[PATCH 3/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-23 Thread Uri Mashiach
Device tree modifications: - Pinmux for SPI0 and WiFi GPIOs. - SPI0 node with wlcore as a child node. Cc: Tony Lindgren Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- Prerequisites: This patch applies on Tony's

[PATCH 0/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-23 Thread Uri Mashiach
Add DT support for WLS1271 SPI driver. Fix oops by adding a power callback. Uri Mashiach (3): wlcore/wl12xx: spi: fix NULL pointer dereference (Oops) wlcore/wl12xx: spi: add device tree support wlcore/wl12xx: spi: add wifi support to cm-t335 .../bindings/net/wireless/ti,wlcore,spi.txt