[RFT v2, 6/6] wlcore: Use generic runtime pm calls for wowlan elp configuration

2018-05-30 Thread Eyal Reizer
suspend is completed before the system suspend. Signed-off-by: Eyal Reizer Signed-off-by: Tony Lindgren --- Changes since v1: use pm_runtime_force_() instaed of pm_generic_runtime_() calls drivers/net/wireless/ti/wlcore/main.c | 51 +-- 1 file changed, 13 insertions

[PATCH v2] wlcore: sdio: check for valid platform device data before suspend

2018-05-28 Thread Eyal Reizer
device data is not set. Make sure wl the pointer is valid before using it. Signed-off-by: Eyal Reizer <ey...@ti.com> --- Changes since v1: Remove extra characters after signed-of-by drivers/net/wireless/ti/wlcore/sdio.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wirel

[PATCH] wlcore: sdio: check for valid platform device data before suspend

2018-05-24 Thread Eyal Reizer
device data is not set. Make sure wl the pointer is valid before using it. Signed-off-by: Eyal Reizer <ey...@ti.com>mamai --- drivers/net/wireless/ti/wlcore/sdio.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/

[PATCH] wlcore: use generic runtime pm calls for wowlan elp configuration

2018-05-24 Thread Eyal Reizer
during suspend is completed before the system suspend. Signed-off-by: Eyal Reizer <ey...@ti.com> --- Dependent on the Runtime PM support for wlcore patch set that was submitted by Tony Lindgren <t...@atomide.com> drivers/net/wireless/ti/wlcore/main.c | 51 +-

[PATCH v2] wlcore: sdio: allow pm to handle sdio power

2018-04-25 Thread Eyal Reizer
device's usage count causing the driver to try an re-initialize an already initialized device. This was causing sdio bus failure on resume. Remove this manual power on/off sequence as it is in-fact not needed. Signed-off-by: Eyal Reizer <ey...@ti.com> Acked-by: Tony Lindgren <t...@at

[PATCH] net: wireless: ti: wlcore: sdio: allow pm to handle sdio power

2018-04-25 Thread Eyal Reizer
device's usage count causing the driver to try an re-initialize an already initialized device. This was causing sdio bus failure on resume. Remove this manual power on/off sequence as it is in-fact not needed. Signed-off-by: Eyal Reizer <ey...@ti.com> Cc: sta...@vger.kernel.org --- drive

[PATCH v7] wlcore: spi: add wl18xx support

2016-07-19 Thread Eyal Reizer
From: Eyal Reizer <eyalrei...@gmail.com> Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for s

[PATCH] wlcore: spi: add wl18xx support

2016-03-30 Thread Eyal Reizer
reg = <0>; /* chip select 0 on spi0, ie spi0.0 */ interrupt-parent = <>; interrupts = <27 IRQ_TYPE_EDGE_RISING>; }; }; Signed-off-by: Eyal Reizer <ey...@ti.com> --- drivers/net/wireless/ti/wlcore/spi.c | 176

[PATCH] wlcore: spi: add wl18xx support

2016-03-30 Thread Eyal Reizer
spi-max-frequency = <4800>; reg = <0>; /* chip select 0 on spi0, ie spi0.0 */ interrupt-parent = <>; interrupts = <27 IRQ_TYPE_EDGE_RISING>; }; }; Signed-off-by: Eyal Reizer <ey...@ti.com> --- dri