Re: [PATCH v10 5/9] staging: clocking-wizard: Add support for dynamic reconfiguration

2021-03-17 Thread Shubhrajyoti Datta
On Mon, Mar 15, 2021 at 12:37 PM Zhengxun Li wrote: > > Hi Shubhrajyoti, > > My name is Zhengxun and I am the engineer from Macronix. We are > using the platform PicoZed 7015/7030 SOM (System On Module), > which is based on Xilinx Zynq®-7000 All Programmable (AP) SoC to > verify our Flash driver.

Re: [PATCH v3 0/3] Binder: Enable App Freezing Capability

2021-03-17 Thread Jann Horn
On Wed, Mar 17, 2021 at 7:00 PM Christian Brauner wrote: > On Mon, Mar 15, 2021 at 06:16:27PM -0700, Li Li wrote: > > To improve the user experience when switching between recently used > > applications, the background applications which are not currently needed > > are cached in the memory.

Re: [PATCH] staging: comedi: das800: fix request_irq() warn

2021-03-17 Thread Tong Zhang
Thanks for sharing those best practices, Dan. I was wondering if there is a spelling checker for git. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH 40/43] Staging: rtl8723bs: fix names in odm.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_odm.c | 6 +- .../staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 10 +- .../staging/rtl8723bs/hal/HalHWImg8723B_BB.h | 6 +-

[PATCH 43/43] Staging: rtl8723bs: fix names in HalBtc8723b2Ant.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/HalBtc8723b2Ant.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 8 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h | 10 +- 2 files changed, 9

[PATCH 42/43] Staging: rtl8723bs: fix names in odm_NoiseMonitor.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_NoiseMonitor.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 41/43] Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_DynamicBBPowerSaving.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c | 4 ++--

[PATCH 38/43] Staging: rtl8723bs: fix names in odm_CfoTracking.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_CfoTracking.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal/odm_CfoTracking.c | 12 ++--

[PATCH 39/43] Staging: rtl8723bs: fix names in HalPhyRf.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/HalPhyRf.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalPhyRf.c | 4 ++-- drivers/staging/rtl8723bs/hal/HalPhyRf.h | 10 +-

[PATCH 36/43] Staging: rtl8723bs: fix names in odm_DIG.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_DIG.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com.c | 2 +- drivers/staging/rtl8723bs/hal/odm.c | 2 +- drivers/staging/rtl8723bs/hal/odm.h

[PATCH 31/43] Staging: rtl8723bs: fix names in HalBtcOutSrc.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/HalBtcOutSrc.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 148 +- .../staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 28 ++--

[PATCH 37/43] Staging: rtl8723bs: fix names in hal_btcoex.c

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/hal_btcoex.c from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 35/43] Staging: rtl8723bs: fix names in odm_types.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_types.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 6 +++--- drivers/staging/rtl8723bs/hal/odm_HWConfig.h | 8 drivers/staging/rtl8723bs/hal/odm_types.h| 4

[PATCH 34/43] Staging: rtl8723bs: fix names in HalBtc8723b1Ant.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/HalBtc8723b1Ant.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 8 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 12 ++-- 2 files changed, 10

[PATCH 33/43] Staging: rtl8723bs: fix names in odm_HWConfig.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_HWConfig.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 2 +- drivers/staging/rtl8723bs/hal/odm_HWConfig.h | 8 2 files changed, 5 insertions(+), 5 deletions(-)

[PATCH 32/43] Staging: rtl8723bs: fix names in odm_EdcaTurboCheck.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_EdcaTurboCheck.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h| 2 +- drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 30/43] Staging: rtl8723bs: fix names in odm_interface.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in hal/odm_interface.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_interface.h

[PATCH 29/43] Staging: rtl8723bs: fix names in hal_btcoex.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_btcoex.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/hal_btcoex.h | 2 +- drivers/staging/rtl8723bs/include/hal_data.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH 28/43] Staging: rtl8723bs: fix names in rtw_efuse.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_efuse.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 28 +-- drivers/staging/rtl8723bs/include/hal_data.h | 2 +-

[PATCH 27/43] Staging: rtl8723bs: fix names in ieee80211.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/ieee80211.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/ieee80211.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 25/43] Staging: rtl8723bs: fix names in sta_info.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/sta_info.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/sta_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/sta_info.h

[PATCH 26/43] Staging: rtl8723bs: fix names in hal_data.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_data.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/hal_data.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 24/43] Staging: rtl8723bs: fix names in hal_com_phycfg.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_com_phycfg.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 4 ++-- drivers/staging/rtl8723bs/include/hal_com_phycfg.h | 8 2 files changed, 6

[PATCH 23/43] Staging: rtl8723bs: fix names in HalPwrSeqCmd.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/HalPwrSeqCmd.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c | 4 ++-- drivers/staging/rtl8723bs/hal/hal_pwr_seq.c | 22 +--

[PATCH 22/43] Staging: rtl8723bs: fix names in rtw_rf.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_rf.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 8 drivers/staging/rtl8723bs/hal/hal_intf.c | 2 +- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c

[PATCH 21/43] Staging: rtl8723bs: fix names in rtw_xmit.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_xmit.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_xmit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_xmit.h

[PATCH 20/43] Staging: rtl8723bs: fix names in rtw_mlme_ext.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_mlme_ext.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 24 - .../staging/rtl8723bs/include/rtw_mlme_ext.h | 26 +--

[PATCH 17/43] Staging: rtl8723bs: fix names in wifi.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/wifi.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_mlme.h | 8 drivers/staging/rtl8723bs/include/wifi.h | 14 +++--- 2 files changed, 11 insertions(+), 11

[PATCH 19/43] Staging: rtl8723bs: fix names in hal_phy.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_phy.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 4 ++-- drivers/staging/rtl8723bs/hal/sdio_halinit.c

[PATCH 18/43] Staging: rtl8723bs: fix names in rtl8723b_hal.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtl8723b_hal.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 4 ++-- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c| 2 +-

[PATCH 16/43] Staging: rtl8723bs: fix names in HalVerDef.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/HalVerDef.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com.c | 2 +- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 4 +- drivers/staging/rtl8723bs/include/HalVerDef.h | 50

[PATCH 14/43] Staging: rtl8723bs: fix names in hal_com_h2c.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_com_h2c.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c| 12 ++-- drivers/staging/rtl8723bs/include/hal_com_h2c.h | 2 +- 2 files changed, 7 insertions(+),

[PATCH 15/43] Staging: rtl8723bs: fix names in rtl8723b_xmit.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtl8723b_xmit.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 8 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h | 2 +- 2 files changed, 5 insertions(+),

[PATCH 12/43] Staging: rtl8723bs: fix names in osdep_service.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/osdep_service.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/osdep_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 11/43] Staging: rtl8723bs: fix names in hal_intf.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_intf.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com.c | 8 ++--- drivers/staging/rtl8723bs/hal/hal_intf.c | 8 ++--- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c

[PATCH 13/43] Staging: rtl8723bs: fix names in rtw_security.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_security.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_security.h | 4 ++-- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +-

[PATCH 10/43] Staging: rtl8723bs: fix names in rtw_cmd.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_cmd.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_cmd.h

[PATCH 09/43] Staging: rtl8723bs: fix names in rtw_mp.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_mp.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_mp.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 08/43] Staging: rtl8723bs: fix names in rtw_ht.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_ht.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_ht.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_ht.h

[PATCH 03/43] Staging: rtl8723bs: fix names in rtw_pwrctrl.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_pwrctrl.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c| 4 ++-- drivers/staging/rtl8723bs/include/rtw_pwrctrl.h | 8 2 files changed, 6 insertions(+), 6

[PATCH 07/43] Staging: rtl8723bs: fix names in drv_types.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/drv_types.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv_types.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 06/43] Staging: rtl8723bs: fix names in rtw_recv.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_recv.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h

[PATCH 02/43] Staging: rtl8723bs: fix names in wlan_bssdef.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/wlan_bssdef.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 +-- .../staging/rtl8723bs/core/rtw_ioctl_set.c| 6 ++-- drivers/staging/rtl8723bs/hal/hal_intf.c

[PATCH 05/43] Staging: rtl8723bs: fix names in rtw_eeprom.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_eeprom.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_eeprom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 04/43] Staging: rtl8723bs: fix names in hal_com.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_com.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/hal_com.h | 4 ++-- 3

[PATCH 01/43] Staging: rtl8723bs: fix names in rtw_mlme.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_mlme.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c| 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme.h

[PATCH 00/43] Staging: rtl8723bs: convert ALL_CAPS names

2021-03-17 Thread Marco Cesati
This set of patches converts struct and enum names in the staging/rtl8723bs source code from all caps to lowercase. The checkpatch.pl script emits many errors and warnings for these patches, however all of them are caused by the original code. [PATCH 01/43] Staging: rtl8723bs: fix names in

[PATCH] staging: octeon-usb: Match alignment with open parenthesis

2021-03-17 Thread Mahak Gupta
This patches fixes the checks- 'Alignment should match open parenthesis' of 'checkpatch.pl'. Signed-off-by: Mahak Gupta --- drivers/staging/octeon-usb/octeon-hcd.c | 32 + 1 file changed, 17 insertions(+), 15 deletions(-) diff --git

[PATCH] staging: octeon-usb: Match alignment with open parenthesis

2021-03-17 Thread Mahak Gupta
This patches fixes the checks- 'Alignment should match open parenthesis' of 'checkpatch.pl'. Signed-off-by: Mahak Gupta --- drivers/staging/octeon-usb/octeon-hcd.c | 32 + 1 file changed, 17 insertions(+), 15 deletions(-) diff --git

Re: [PATCH v3 1/3] binder: BINDER_FREEZE ioctl

2021-03-17 Thread Christian Brauner
On Mon, Mar 15, 2021 at 06:16:28PM -0700, Li Li wrote: > From: Marco Ballesio > > Frozen tasks can't process binder transactions, so a way is required to > inform transmitting ends of communication failures due to the frozen > state of their receiving counterparts. Additionally, races are

Re: [PATCH v3 0/3] Binder: Enable App Freezing Capability

2021-03-17 Thread Christian Brauner
On Mon, Mar 15, 2021 at 06:16:27PM -0700, Li Li wrote: > From: Li Li > > To improve the user experience when switching between recently used > applications, the background applications which are not currently needed > are cached in the memory. Normally, a well designed application will not >

Re: [PATCH] staging: wimax: i2400m: Mundane typo fix in the file driver.c

2021-03-17 Thread Randy Dunlap
On 3/17/21 2:26 AM, Bhaskar Chowdhury wrote: > > s/procesing/processing/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/staging/wimax/i2400m/driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/wimax/i2400m/driver.c

[PATCH v5 13/13] arm64: dts: imx8mq: Add node to G2 hardware

2021-03-17 Thread Benjamin Gaignard
Split VPU node in two: one for G1 and one for G2 since they are different hardware blocks. Add syscon for hardware control block. Remove reg-names property that is useless. Each VPU node only need one interrupt. Signed-off-by: Benjamin Gaignard --- version 5: - use syscon instead of VPU reset

[PATCH v5 12/13] media: hantro: IMX8M: add variant for G2/HEVC codec

2021-03-17 Thread Benjamin Gaignard
Add variant to IMX8M to enable G2/HEVC codec. Define the capabilities for the hardware up to 3840x2160. G2 doesn't have postprocessor, use the same clocks and got it own interruption. Signed-off-by: Benjamin Gaignard --- version 5: - remove useless postproc fields for G2 version 2: - remove

[PATCH v5 11/13] media: hantro: Introduce G2/HEVC decoder

2021-03-17 Thread Benjamin Gaignard
Implement all the logic to get G2 hardware decoding HEVC frames. It support up level 5.1 HEVC stream. It doesn't support yet 10 bits formats or scaling feature. Add HANTRO HEVC dedicated control to skip some bits at the beginning of the slice header. That is very specific to this hardware so

[PATCH v5 10/13] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control

2021-03-17 Thread Benjamin Gaignard
Make sure that V4L2_PIX_FMT_HEVC_SLICE is correctly handle by v4l2 of the driver. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/hantro/hantro_v4l2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/hantro/hantro_v4l2.c

[PATCH v5 09/13] media: uapi: Add a control for HANTRO driver

2021-03-17 Thread Benjamin Gaignard
The HEVC HANTRO driver needs to know the number of bits to skip at the beginning of the slice header. That is a hardware specific requirement so create a dedicated control that this purpose. Signed-off-by: Benjamin Gaignard --- version 5: - Be even more verbose in control documentation. - Do

[PATCH v5 08/13] media: hantro: Only use postproc when post processed formats are defined

2021-03-17 Thread Benjamin Gaignard
If the variant doesn't offert postprocessed formats make sure it will be ok. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/hantro/hantro.h | 8 ++-- drivers/staging/media/hantro/hantro_postproc.c | 14 ++ drivers/staging/media/hantro/hantro_v4l2.c | 4

[PATCH v5 07/13] media: hantro: Define HEVC codec profiles and supported features

2021-03-17 Thread Benjamin Gaignard
Define which HEVC profiles (up to level 5.1) and features (no scaling, no 10 bits) are supported by the driver. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/hantro/hantro.h | 3 ++ drivers/staging/media/hantro/hantro_drv.c | 58 +++ 2 files changed, 61

[PATCH v5 06/13] media: hantro: change hantro_codec_ops run prototype to return errors

2021-03-17 Thread Benjamin Gaignard
Change hantro_codec_ops run prototype from 'void' to 'int'. This allow to cancel the job if an error occur while configuring the hardware. Signed-off-by: Benjamin Gaignard --- version 5: - forward hantro_h264_dec_prepare_run() return value in case of error

[PATCH v5 05/13] media: hevc: Add decode params control

2021-03-17 Thread Benjamin Gaignard
Add decode params control and it associated structure to regroup all the information that are needed to decode a reference frame as it is describe in ITU-T Rec. H.265 section "8.3.2 Decoding process for reference picture set". Adapt Cedrus driver to these changes. Signed-off-by: Benjamin

[PATCH v5 04/13] media: hevc: Add fields and flags for hevc PPS

2021-03-17 Thread Benjamin Gaignard
Add fields and flags as they are defined in 7.4.3.3.1 "General picture parameter set RBSP semantics of the H.265 ITU specification. Signed-off-by: Benjamin Gaignard --- .../userspace-api/media/v4l/ext-ctrls-codec.rst| 14 ++ include/media/hevc-ctrls.h |

[PATCH v5 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-03-17 Thread Benjamin Gaignard
In order to be able to share the control hardware block between VPUs use a syscon instead a ioremap it in the driver. To keep the compatibility with older DT if 'nxp,imx8mq-vpu-ctrl' phandle is not found look at 'ctrl' reg-name. With the method it becomes useless to provide a list of register

[PATCH v5 02/13] dt-bindings: media: nxp, imx8mq-vpu: Update the bindings for G2 support

2021-03-17 Thread Benjamin Gaignard
Introducing G2 hevc video decoder lead to modify the bindings to allow to get one node per VPUs. VPUs share one hardware control block which is provided as a phandle on an syscon. Each node got now one reg and one interrupt. Add a compatible for G2 hardware block: nxp,imx8mq-vpu-g2. To be

[PATCH v5 01/13] dt-bindings: mfd: Add 'nxp, imx8mq-vpu-ctrl' to syscon list

2021-03-17 Thread Benjamin Gaignard
Add 'nxp,imx8mq-vpu-ctrl' in the list of possible syscon. It will used to access to the VPU control registers. Signed-off-by: Benjamin Gaignard --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 00/13] Add HANTRO G2/HEVC decoder support for IMX8MQ

2021-03-17 Thread Benjamin Gaignard
The IMX8MQ got two VPUs but until now only G1 has been enabled. This series aim to add the second VPU (aka G2) and provide basic HEVC decoding support. To be able to decode HEVC it is needed to add/update some of the structures in the uapi. In addition of them one HANTRO dedicated control is

Re: [PATCH] staging: comedi: das800: fix request_irq() warn

2021-03-17 Thread Ian Abbott
On 16/03/2021 22:42, Tong Zhang wrote: request_irq() wont accept a name which contains slash so we need to repalce it with something else -- otherwise it will trigger a warning and the entry in /proc/irq/ will not be created since the .name might be used by userspace and we don't want to break

[PATCH] staging: rtl8723bs: remove unused code blocks completed

2021-03-17 Thread Fabio Aiuto
Remove related item in TODO list --- searched for other unused code blocks: grep -r '^\(#ifdef \|#if defined(\|#ifndef \)CONFIG_' \ drivers/staging/rtl8723bs/ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM)

Re: staging: rtl8723bs: remove unused code blocks completed?

2021-03-17 Thread Greg KH
On Wed, Mar 17, 2021 at 10:59:32AM +0100, Fabio Aiuto wrote: > Hi, > > I'm trying to search other unused code blocks: > > grep -r '^\(#ifdef \|#if defined(\|#ifndef \)CONFIG_' > drivers/staging/rtl8723bs/ > > drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM) >

staging: rtl8723bs: remove unused code blocks completed?

2021-03-17 Thread Fabio Aiuto
Hi, I'm trying to search other unused code blocks: grep -r '^\(#ifdef \|#if defined(\|#ifndef \)CONFIG_' drivers/staging/rtl8723bs/ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM) drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM)

staging: rtl8723bs: remove unused code blocks completed?

2021-03-17 Thread Fabio Aiuto
Hi, I'm trying to search other unused code blocks: grep -r '^\(#ifdef \|#if defined(\|#ifndef \)CONFIG_' drivers/staging/rtl8723bs/ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM) drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM)

[PATCH] staging: wimax: i2400m: Mundane typo fix in the file driver.c

2021-03-17 Thread Bhaskar Chowdhury
s/procesing/processing/ Signed-off-by: Bhaskar Chowdhury --- drivers/staging/wimax/i2400m/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/driver.c b/drivers/staging/wimax/i2400m/driver.c index f5186458bb3d..8091106212f9 100644 ---

Re: [PATCH] drivers: staging: qlge: Fixed an alignment issue.

2021-03-17 Thread Dan Carpenter
On Tue, Mar 16, 2021 at 09:26:34PM +0530, Anish Udupa wrote: > The * of the comment was not aligned properly. Ran checkpatch and > found the warning. Resolved it in this patch. > > Signed-off-by: Anish Udupa > --- > drivers/staging/qlge/qlge_main.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH] staging: comedi: das800: fix request_irq() warn

2021-03-17 Thread Dan Carpenter
On Wed, Mar 17, 2021 at 01:55:40AM -0400, Tong Zhang wrote: > Thanks for pointing that out. > Yes you are right there is a mistake. > I am a human. Human make mistakes. Therefore I make mistakes. > Yep. We all make mistakes. One thing to do is if you make a mistake then check to see if anyone

Re: [PATCH v2 1/2] media: staging/intel-ipu3: Fix memory leak in imu_fmt

2021-03-17 Thread Bingbu Cao
On 3/17/21 1:50 AM, Ricardo Ribalda wrote: > Hi Bingbu > > Thanks for your review > > On Tue, Mar 16, 2021 at 12:29 PM Bingbu Cao > wrote: >> >> Hi, Ricardo >> >> Thanks for your patch. >> It looks fine for me, do you mind squash 2 patchsets into 1 commit? > > Are you sure? There are two

Re: [PATCH] staging: rtl8723bs/core: add spaces between operators

2021-03-17 Thread Joe Perches
On Tue, 2021-03-16 at 20:05 +0800, Qiang Ma wrote: > Add spaces between operators for a better readability > in function 'rtw_seccalctkipmic'. Perhaps better would be to refactor it a bit to follow the comments. Something like: --- drivers/staging/rtl8723bs/core/rtw_security.c | 24