[PATCH 5/5] staging: rtl8723bs: remove 5 GHz code

2020-09-12 Thread Michael Straube
Acoording to the TODO code valid only for 5 GHz should be removed. - find and remove remaining code valid only for 5 GHz. Most of the obvious ones have been removed, but things like channel > 14 still exist. Remove code path only valid for channels > 14. Signed-off-by: Michael Straube --- ..

[PATCH 2/5] staging: rtl8723bs: make cckrates{only}_included static

2020-09-12 Thread Michael Straube
Functions cckrates_included() and cckratesonly_included() are used only in the file core/rtw_wlan_util.c. Make them static and remove extern declarations from include/rtw_mlme_ext.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- drivers/staging/rtl

[PATCH 4/5] staging: rtl8723bs: remove comparsions to true

2020-09-12 Thread Michael Straube
Remove unnecessary comparsions to boolean values. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_ut

[PATCH 3/5] staging: rtl8723bs: convert cckrates{only}_included to bool

2020-09-12 Thread Michael Straube
Functions cckrates_included() and cckratesonly_included() return boolean values. Convert the return type from int to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl

[PATCH 1/5] staging: rtl8723bs: refactor cckrates{only}_included

2020-09-12 Thread Michael Straube
Refactor cckrates_included() and cckratesonly_included() to simplify the code and improve readability. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/co

Dear Friend 09/12/2020

2020-09-12 Thread Reem
My name is Reem Hashimy, the Emirates Minister of State and Managing Director of the United Arab Emirates (Dubai) World Expo 2020 Committee which has been postponed to run from 1 October 2021 to 31 March 2022 because of the Covid-19 pandemic. I am writing to you to manage the funds I received

IMPORTANT INFORMATION

2020-09-12 Thread F C A
To Email Owner, Attn: Fund Beneficiary, This message is from the central working committee on foreign payment Unit of the Financial Conduct Authority. there is an approved fund for you, kindly confirm this your e-mail address is active for further information . We hope you find this improvem

[PATCH v2 4/6] media: cedrus: Add support for V3s

2020-09-12 Thread Martin Cerveny
V3s video engine runs at lower speed and support video decoder for H.264 and JPEG/MJPEG only. Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/stagi

[PATCH v2 6/6] ARM: dts: sun8i: v3s: Add video engine node

2020-09-12 Thread Martin Cerveny
Allwinner V3S SoC has a video engine. Add a node for it. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 3f18866fb37b..3fb01dc1a9ba 100644

[PATCH v2 2/6] dt-bindings: sram: allwinner, sun4i-a10-system-control: Add V3s compatibles

2020-09-12 Thread Martin Cerveny
Allwinner V3s has system control similar to that in H3. Add compatibles for system control with SRAM C1 region. Signed-off-by: Martin Cerveny --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindin

[PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-09-12 Thread Martin Cerveny
First patch extends cedrus capability to all decoders because V3s missing MPEG2 decoder. Next two patches add system control node (SRAM C1) and next three patches add support for Cedrus VPU. Tested on "Lichee Zero" V3s platform with testing LCD patch ( https://github.com/mcerveny/linux/tree/v3s_

[PATCH v2 3/6] ARM: dts: sun8i: v3s: Add node for system control

2020-09-12 Thread Martin Cerveny
Allwinner V3s has system control and SRAM C1 region similar to H3. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c0d

[PATCH v2 5/6] dt-bindings: media: cedrus: Add V3s compatible

2020-09-12 Thread Martin Cerveny
Allwinner V3s SoC contains video engine. Add compatible for it. Signed-off-by: Martin Cerveny --- .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml b

[PATCH v2 1/6] media: cedrus: Register all codecs as capability

2020-09-12 Thread Martin Cerveny
All codecs should have capabilities. For example "Allwinner V3s" does not support "MPEG2". Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c| 18 +- drivers/staging/media/sunxi/cedrus/cedrus.h| 2 ++ .../staging/media/sunxi/cedrus/cedrus_video

[PATCH] staging: wfx: simplify virt_addr_valid call

2020-09-12 Thread trix
From: Tom Rix Reviewing sram_write_dma_safe(), there are two identical calls to virt_addr_valid(). The second call can be simplified by a comparison of variables set from the first call. Signed-off-by: Tom Rix --- drivers/staging/wfx/fwio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH 1/5] staging: rtl8723bs: refactor cckrates{only}_included

2020-09-12 Thread Joe Perches
On Sat, 2020-09-12 at 10:45 +0200, Michael Straube wrote: > Refactor cckrates_included() and cckratesonly_included() to simplify > the code and improve readability. > > Signed-off-by: Michael Straube > --- > drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14 -- > 1 file changed, 8

Re: [PATCH 1/5] staging: rtl8723bs: refactor cckrates{only}_included

2020-09-12 Thread Joe Perches
On Sat, 2020-09-12 at 11:22 -0700, Joe Perches wrote: > On Sat, 2020-09-12 at 10:45 +0200, Michael Straube wrote: > > Refactor cckrates_included() and cckratesonly_included() to simplify > > the code and improve readability. [] > diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c > b/driv

Re: [RESEND PATCH] staging: rtl8188eu: Fix else after return WARNING (checkpatch)

2020-09-12 Thread Greg Kroah-Hartman
On Sun, Sep 13, 2020 at 12:19:50PM +0530, Sohom Datta wrote: > >From 4c8c8f3ff7f4d711daea4ac3bb987fcecc7ef1ed Mon Sep 17 00:00:00 2001 > From: Sohom > Date: Sat, 12 Sep 2020 18:04:56 +0530 > Subject: [RESEND PATCH] staging: rtl8188eu: Fix else after return WARNING > (checkpatch) Why is this in t