[PATCH v6 11/17] wilc1000: add spi.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/spi.c' to 'drivers/net/wireless/microchip/wilc1000/spi.c'. Signed-off-by: Ajay Singh --- drivers/net/wireless/microchip/wilc1000/spi.c | 945 ++ 1 file changed, 945 insertions(+) create mode 100644 drivers/net/wireless/microchip

[PATCH v6 17/17] wilc1000: add Makefile and Kconfig files for wilc1000 compilation

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Added Makefile and Kconfig files for compiling wilc1000 module from 'drivers/net/wireless/microchip/'. Signed-off-by: Ajay Singh --- drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile | 1 + drivers/net/wireless/microchip/Kconf

[PATCH v6 05/17] wilc1000: add wlan_cfg.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/wlan_cfg.c' to 'drivers/net/wireless/microchip/wilc1000/wlan_cfg.c'. Signed-off-by: Ajay Singh --- .../wireless/microchip/wilc1000/wlan_cfg.c| 413 ++ 1 file changed, 413 insertions(+) create mode 100644 drivers/net/wireless

[PATCH v6 10/17] wilc1000: add mon.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/mon.c' to 'drivers/net/wireless/microchip/wilc1000/mon.c'. Signed-off-by: Ajay Singh --- drivers/net/wireless/microchip/wilc1000/mon.c | 260 ++ 1 file changed, 260 insertions(+) create mode 100644 drivers/net/wireless/microchip

[PATCH v6 14/17] wilc1000: add sdio.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/sdio.c' to 'drivers/net/wireless/microchip/wilc1000/sdio.c'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/sdio.c| 1023 + 1 file changed, 1023 insertions(+) create mode 100644 drivers/net/wireless/microc

[PATCH v6 02/17] wilc1000: add hif.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/hif.c' to 'drivers/net/wireless/microchip/wilc1000/hif.c'. Signed-off-by: Ajay Singh --- drivers/net/wireless/microchip/wilc1000/hif.c | 1959 + 1 file changed, 1959 insertions(+) create mode 100644 drivers/net/wireless/microchi

[PATCH v6 07/17] wilc1000: add cfg80211.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/cfg80211.h' to 'drivers/net/wireless/microchip/wilc1000/cfg80211.h'. Signed-off-by: Ajay Singh --- .../wireless/microchip/wilc1000/cfg80211.h| 29 +++ 1 file changed, 29 insertions(+) create mode 100644 drivers/net/wireless/

[PATCH v6 03/17] wilc1000: add wlan_if.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/wlan_if.h' to 'drivers/net/wireless/microchip/wilc1000/wlan_if.h'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/wlan_if.h | 803 ++ 1 file changed, 803 insertions(+) create mode 100644 drivers/net/wireless/m

[PATCH v6 09/17] wilc1000: add netdev.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/netdev.c' to 'drivers/net/wireless/microchip/wilc1000/netdev.c'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/netdev.c | 934 ++ 1 file changed, 934 insertions(+) create mode 100644 drivers/net/wireless/mic

[PATCH v6 08/17] wilc1000: add netdev.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/netdev.h' to 'drivers/net/wireless/microchip/wilc1000/netdev.h'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/netdev.h | 294 ++ 1 file changed, 294 insertions(+) create mode 100644 drivers/net/wireless/mic

[PATCH v6 04/17] wilc1000: add wlan_cfg.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/wlan_cfg.h' to 'drivers/net/wireless/microchip/wilc1000/wlan_cfg.h'. Signed-off-by: Ajay Singh --- .../wireless/microchip/wilc1000/wlan_cfg.h| 54 +++ 1 file changed, 54 insertions(+) create mode 100644 drivers/net/wireless/

[PATCH v6 16/17] dt: bindings: net: add microchip,wilc1000.yaml

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh This file describes the binding details to connect wilc1000 device. It's moved from staging to 'Documentation/devicetree/bindings/net/wireless' path. Signed-off-by: Ajay Singh --- .../net/wireless/microchip,wilc1000.yaml | 71 +++ 1 file changed, 71 insert

[PATCH v6 15/17] wilc1000: add fw.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/fw.h' to 'drivers/net/wireless/microchip/wilc1000/fw.h'. Signed-off-by: Ajay Singh --- drivers/net/wireless/microchip/wilc1000/fw.h | 119 +++ 1 file changed, 119 insertions(+) create mode 100644 drivers/net/wireless/microchip/w

[PATCH v6 12/17] wilc1000: add wlan.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/wlan.h' to 'drivers/net/wireless/microchip/wilc1000/wlan.h'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/wlan.h| 397 ++ 1 file changed, 397 insertions(+) create mode 100644 drivers/net/wireless/microch

[PATCH v6 13/17] wilc1000: add wlan.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/wlan.c' to 'drivers/net/wireless/microchip/wilc1000/wlan.c'. Signed-off-by: Ajay Singh --- .../net/wireless/microchip/wilc1000/wlan.c| 1238 + 1 file changed, 1238 insertions(+) create mode 100644 drivers/net/wireless/microc

[PATCH v6 01/17] wilc1000: add hif.h

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/hif.h' to 'drivers/net/wireless/microchip/wilc1000/hif.h'. Signed-off-by: Ajay Singh --- drivers/net/wireless/microchip/wilc1000/hif.h | 214 ++ 1 file changed, 214 insertions(+) create mode 100644 drivers/net/wireless/microchip

[PATCH v6 00/17] wilc1000: move out of staging

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh This patch series is to review and move wilc1000 driver out of staging. Most of the review comments received in [1] & [2] are addressed in the latest code. Please review and provide your inputs. [1]. https://lore.kernel.org/linux-wireless/1537957525-11467-1-git-send-email-ajay.

[PATCH v6 06/17] wilc1000: add cfg80211.c

2020-03-26 Thread Ajay.Kathat
From: Ajay Singh Moved 'drivers/staging/wilc1000/cfg80211.c' to 'drivers/net/wireless/microchip/wilc1000/cfg80211.c'. Signed-off-by: Ajay Singh --- .../wireless/microchip/wilc1000/cfg80211.c| 1849 + 1 file changed, 1849 insertions(+) create mode 100644 drivers/net/wireles

Re: [PATCH AUTOSEL 5.5 13/28] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Greg Kroah-Hartman
On Thu, Mar 26, 2020 at 07:23:42PM -0400, Sasha Levin wrote: > From: Johan Hovold > > [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] > > Newer GCC warns about possible truncations of two generated path names as > we're concatenating the configurable sysfs and debugfs path prefixes

Re: [PATCH AUTOSEL 5.5 12/28] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Greg KH
On Thu, Mar 26, 2020 at 07:23:41PM -0400, Sasha Levin wrote: > From: Johan Hovold > > [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] > > Newer GCC warns about a possible truncation of a generated sysfs path > name as we're concatenating a directory path with a file name and > placi

Nice to meet you dear friend

2020-03-26 Thread admin
Dear Friend, How are you and your entire family? I hope you and your entire family are doing everything possible to stay safe and protected from the coronavirus pandemic. I am your friend Mr. Ismael from the Arab Republic of Syrian. I am eagerly looking for an investment opportunity in your coun

Nice to meet you dear friend

2020-03-26 Thread admin
Dear Friend, How are you and your entire family? I hope you and your entire family are doing everything possible to stay safe and protected from the coronavirus pandemic. I am your friend Mr. Ismael from the Arab Republic of Syrian. I am eagerly looking for an investment opportunity in your coun

Nice to meet you dear friend

2020-03-26 Thread admin
Dear Friend, How are you and your entire family? I hope you and your entire family are doing everything possible to stay safe and protected from the coronavirus pandemic. I am your friend Mr. Ismael from the Arab Republic of Syrian. I am eagerly looking for an investment opportunity in your coun

[staging:staging-testing] BUILD SUCCESS ba22fd4ed1af182be164a766a5316d1b2f250cf5

2020-03-26 Thread kbuild test robot
generic-64bit_defconfig x86_64 randconfig-a001-20200326 x86_64 randconfig-a002-20200326 x86_64 randconfig-a003-20200326 i386 randconfig-a001-20200326 i386 randconfig-a002-20200326 i386 randconfig-a003-20200326

[PATCH AUTOSEL 4.14 06/10] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] Newer GCC warns about possible truncations of two generated path names as we're concatenating the configurable sysfs and debugfs path prefixes with a filename and placing the results in buffers of the same size as th

[PATCH AUTOSEL 4.9 4/7] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] Newer GCC warns about possible truncations of two generated path names as we're concatenating the configurable sysfs and debugfs path prefixes with a filename and placing the results in buffers of the same size as th

[PATCH AUTOSEL 4.9 3/7] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] Newer GCC warns about a possible truncation of a generated sysfs path name as we're concatenating a directory path with a file name and placing the result in a buffer that is half the size of the maximum length of th

[PATCH AUTOSEL 4.14 05/10] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] Newer GCC warns about a possible truncation of a generated sysfs path name as we're concatenating a directory path with a file name and placing the result in a buffer that is half the size of the maximum length of th

[PATCH AUTOSEL 4.19 08/15] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] Newer GCC warns about possible truncations of two generated path names as we're concatenating the configurable sysfs and debugfs path prefixes with a filename and placing the results in buffers of the same size as th

[PATCH AUTOSEL 4.19 07/15] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] Newer GCC warns about a possible truncation of a generated sysfs path name as we're concatenating a directory path with a file name and placing the result in a buffer that is half the size of the maximum length of th

[PATCH AUTOSEL 5.4 09/19] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] Newer GCC warns about possible truncations of two generated path names as we're concatenating the configurable sysfs and debugfs path prefixes with a filename and placing the results in buffers of the same size as th

[PATCH AUTOSEL 5.4 08/19] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] Newer GCC warns about a possible truncation of a generated sysfs path name as we're concatenating a directory path with a file name and placing the result in a buffer that is half the size of the maximum length of th

[PATCH AUTOSEL 5.5 12/28] staging: greybus: loopback_test: fix potential path truncation

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit f16023834863932f95dfad13fac3fc47f77d2f29 ] Newer GCC warns about a possible truncation of a generated sysfs path name as we're concatenating a directory path with a file name and placing the result in a buffer that is half the size of the maximum length of th

[PATCH AUTOSEL 5.5 13/28] staging: greybus: loopback_test: fix potential path truncations

2020-03-26 Thread Sasha Levin
From: Johan Hovold [ Upstream commit ae62cf5eb2792d9a818c2d93728ed92119357017 ] Newer GCC warns about possible truncations of two generated path names as we're concatenating the configurable sysfs and debugfs path prefixes with a filename and placing the results in buffers of the same size as th

[PATCH AUTOSEL 5.5 05/28] staging: wfx: fix warning about freeing in-use mutex during device unregister

2020-03-26 Thread Sasha Levin
From: Jérôme Pouiller [ Upstream commit bab0a0b03442a62fe3abefcb2169e0b9ff95990c ] After hif_shutdown(), communication with the chip is no more possible. It the only request that never reply. Therefore, hif_cmd.lock is never unlocked. hif_shutdown() unlock itself hif_cmd.lock to avoid a potentia

Formación Bonificable E-Learning

2020-03-26 Thread foesco14
Buenos días Os informamos que se encuentra abierto el plazo de inscripción para la Convocatoria de Cursos Bonificables para empleados (ABRIL 2020). Todos los cursos son totalmente Bonificables con cargo al Crédito de Formación 2020 que disponen las empresas. Dada la situación en la que nos e

[PATCH] staging: rtl8712: fix checkpatch warnings

2020-03-26 Thread Aiman Najjar
This patch fixes remaining warnings in rtl871x_xmit.c of rtl8712 staging driver The following warnings are resolved: WARNING: line over 80 characters \#74: FILE: drivers/staging//rtl8712/rtl871x_xmit.c:74: + * Please allocate memory with the sz = (struct xmit_frame) * NR_XMITFRAME, WARNIN

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Compress return logic

2020-03-26 Thread Lakshmi Ramasubramanian
On 3/25/20 2:43 PM, Simran Singhal wrote: Simplify function returns by merging assignment and return into one command line. "Simplify function returns by merging assignment and return into one line". You could change the subject also to "Simplify function return logic". thanks, -lakshmi ___

[PATCH v2] staging: vt6656: Use DIV_ROUND_UP macro instead of specific code

2020-03-26 Thread Oscar Carter
Use DIV_ROUND_UP macro instead of specific code with the same purpose. Also, remove the unused variables. Signed-off-by: Oscar Carter --- Changelog v1 -> v2 - Rebase the original patch [1] against the staging-next branch of the greg's staging.git tree. [1] https://lore.kernel.org/lkml/202003

Re: [PATCH v2] staging: vt6656: Use ARRAY_SIZE instead of hardcoded size

2020-03-26 Thread Oscar Carter
On Wed, Mar 25, 2020 at 09:19:24AM +, Quentin Deslandes wrote: > On 03/24/20 16:18:30, Dan Carpenter wrote: > > That's a bit over engineering something which is pretty trivial. > > Normally, we would just make the size a define instead of a magic number > > 14. > > My bad, I meant "define", not

Re: [PATCH] staging: vt6656: Use BIT() macro in vnt_mac_reg_bits_* functions

2020-03-26 Thread Oscar Carter
On Mon, Mar 23, 2020 at 10:32:14AM +0300, Dan Carpenter wrote: > On Fri, Mar 20, 2020 at 07:13:26PM +0100, Oscar Carter wrote: > > +#include > > #include "mac.h" > > #include "baseband.h" > > #include "rf.h" > > @@ -468,7 +469,7 @@ int vnt_vt3184_init(struct vnt_private *priv) > > i

Re: [PATCH] staging: vt6656: Use BIT() macro instead of hex value

2020-03-26 Thread Oscar Carter
On Mon, Mar 23, 2020 at 10:35:18AM +0300, Dan Carpenter wrote: > On Fri, Mar 20, 2020 at 06:10:56PM +0100, Oscar Carter wrote: > > -#define RSR_ADDRBROAD 0x80 > > -#define RSR_ADDRMULTI 0x40 > > +#define RSR_ADDRBROAD BIT(7) > > +#define RSR_ADDRMULTI BIT(6) > > #define RSR

[PATCH v3] staging: wilc1000: Use crc7 in lib/ rather than a private copy

2020-03-26 Thread Ajay.Kathat
From: George Spelvin The code in lib/ is the desired polynomial, and even includes the 1-bit left shift in the table rather than needing to code it explicitly. While I'm in Kconfig, add a description of what a WILC1000 is. Kconfig questions that require me to look up a data sheet to find out tha

[PATCH 0/7] media Kconfig reorg - part 3

2020-03-26 Thread Mauro Carvalho Chehab
That's a third part of the patch series with improve the media Kconfig settings. The entire series is at: https://git.linuxtv.org/mchehab/experimental.git/log/?h=media-kconfig patch 1 addresses a report from Helen that an user might not notice that drivers are filtered. So, it adds an ex

[PATCH 7/7] media: add SPDX headers on Kconfig and Makefile files

2020-03-26 Thread Mauro Carvalho Chehab
Most of media Kconfig/Makefile files already has SPDX, but there are a few ones still missing. Add it to them. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/Kconfig | 2 ++ drivers/media/mc/Kconfig| 2 ++ drivers/media/platform/sunxi/Kco

[PATCH] staging: rtl8723bs: hal: Remove NULL check before kfree

2020-03-26 Thread Simran Singhal
NULL check before kfree is unnecessary so remove it. The following Coccinelle script was used to detect this: @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; Signed-off-by: Simran Singhal --- dri

[PATCH] staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback

2020-03-26 Thread Qiujun Huang
We can't handle the case length > WLAN_DATA_MAXLEN. Because the size of rxfrm->data is WLAN_DATA_MAXLEN(2312), and we can't read more than that. Thanks-to: Hillf Danton Reported-and-tested-by: syzbot+7d42d68643a35f71a...@syzkaller.appspotmail.com Signed-off-by: Qiujun Huang --- drivers/staging/

Re: [PATCH 0/4] media Kconfig reorg - part 2

2020-03-26 Thread Mauro Carvalho Chehab
Em Thu, 26 Mar 2020 12:13:33 +0200 Laurent Pinchart escreveu: > > > I'm not sure to follow you. Are you implying that this patch series, > > > which Helen has tested against a real user, not an experienced kernel > > > hacker, may make the configuration options more difficult for kernel > > > hac

Re: KASAN: use-after-free Read in hfa384x_usbin_callback

2020-03-26 Thread Andrey Konovalov
OK, then there's probably no need to test this one, if the other one was fixed by your patch. On Thu, Mar 26, 2020 at 12:48 PM Qiujun Huang wrote: > > Yes, they have the same root cause. > > On Thu, Mar 26, 2020 at 6:45 PM Andrey Konovalov > wrote: > > > > On Thu, Mar 26, 2020 at 3:52 AM Qiujun

Re: KASAN: use-after-free Read in hfa384x_usbin_callback

2020-03-26 Thread Qiujun Huang
Yes, they have the same root cause. On Thu, Mar 26, 2020 at 6:45 PM Andrey Konovalov wrote: > > On Thu, Mar 26, 2020 at 3:52 AM Qiujun Huang wrote: > > > > #syz test: https://github.com/google/kasan.git e17994d1 > > Hi Qiujun, > > I've already duped this bug to "KASAN: slab-out-of-bounds Read in

[PATCH] staging: rtl8723bs: hal: Remove unnecessary cast on void pointer

2020-03-26 Thread Simran Singhal
Assignment to a typed pointer is sufficient in C. No cast is needed. The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: Simran Singhal --- drivers/staging/rtl8

[PATCH v4 5/9] media: adv748x: add support for HDMI audio

2020-03-26 Thread Alex Riesen
This adds an implemention of SoC DAI driver which provides access to the I2S port of the device. Signed-off-by: Alexander Riesen -- v3: fix clock registration in case of multiple adv748x devices Suggested-by: Geert Uytterhoeven v4: use clk_hw instead of clk Suggested-by: Stephen Boyd

[PATCH v4 8/9] dt-bindings: adv748x: add information about serial audio interface (I2S/TDM)

2020-03-26 Thread Alex Riesen
As the driver has some support for the audio interface of the device, the bindings file should mention it. Signed-off-by: Alexander Riesen Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart -- v3: remove optionality off MCLK clock cell to ensure the description matches the hardware no

[PATCH v4 7/9] media: adv748x: only activate DAI if it is described in device tree

2020-03-26 Thread Alex Riesen
To avoid setting it up even if the hardware is not actually connected to anything physically. Besides, the bindings explicitly notes that port definitions are "optional if they are not connected to anything at the hardware level". Signed-off-by: Alexander Riesen --- drivers/media/i2c/adv748x/ad

[PATCH v4 9/9] arm64: dts: renesas: salvator: add a connection from adv748x codec (HDMI input) to the R-Car SoC

2020-03-26 Thread Alex Riesen
As all known variants of the Salvator board have the HDMI decoder chip (the ADV7482) connected to the SSI4 on R-Car SoC, the ADV7482 endpoint and the connection definitions are placed in the common board file. For the same reason, the CLK_C clock line and I2C configuration (similar to the ak4613,

[PATCH v4 6/9] media: adv748x: prepare/enable mclk when the audio is used

2020-03-26 Thread Alex Riesen
As there is nothing else (the consumers are supposed to do that) which enables the clock, do it in the driver. Signed-off-by: Alexander Riesen -- v3: added --- drivers/media/i2c/adv748x/adv748x-dai.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/medi

[PATCH v4 4/9] media: adv748x: add definitions for audio output related registers

2020-03-26 Thread Alex Riesen
Signed-off-by: Alexander Riesen --- drivers/media/i2c/adv748x/adv748x.h | 32 + 1 file changed, 32 insertions(+) diff --git a/drivers/media/i2c/adv748x/adv748x.h b/drivers/media/i2c/adv748x/adv748x.h index 0a9d78c2870b..1a1ea70086c6 100644 --- a/drivers/media/i2c/adv

[PATCH v4 3/9] media: adv748x: reduce amount of code for bitwise modifications of device registers

2020-03-26 Thread Alex Riesen
The regmap provides a convenient utility for this. The hdmi_* and dpll_* register modification macros added for symmetry with the existing operations (io_*, sdp_*). Signed-off-by: Alexander Riesen Reviewed-by: Laurent Pinchart -- v3: remove _update name in favor of existing _clrset --- drivers

[PATCH v4 2/9] media: adv748x: include everything adv748x.h needs into the file

2020-03-26 Thread Alex Riesen
To follow the established practice of not depending on others to pull everything in. While at it, make sure it stays like this. Signed-off-by: Alexander Riesen Reviewed-by: Laurent Pinchart --- drivers/media/i2c/adv748x/adv748x-afe.c | 6 ++ drivers/media/i2c/adv748x/adv748x-core.c | 6 ++-

[PATCH v4 1/9] media: adv748x: fix end-of-line terminators in diagnostic statements

2020-03-26 Thread Alex Riesen
Signed-off-by: Alexander Riesen Reviewed-by: Laurent Pinchart --- drivers/media/i2c/adv748x/adv748x-core.c | 24 drivers/media/i2c/adv748x/adv748x-csi2.c | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/media/i2c/adv748x/adv748x-core.c b

[PATCH v4 0/9] media: adv748x: add support for HDMI audio

2020-03-26 Thread Alex Riesen
This adds minimal support for accessing the HDMI audio provided through the I2S port available on ADV7481 and ADV7482 decoder devices by ADI. The port carries audio signal from the decoded HDMI stream. Currently, the driver only supports I2S in TDM, 8 channels a 24bit at 48kHz. Furthermore, only l

Re: [PATCH 0/4] media Kconfig reorg - part 2

2020-03-26 Thread Laurent Pinchart
Hi Mauro, On Thu, Mar 26, 2020 at 09:28:32AM +0100, Mauro Carvalho Chehab wrote: > Em Thu, 26 Mar 2020 00:13:43 +0200 Laurent Pinchart escreveu: > > On Wed, Mar 25, 2020 at 10:38:20PM +0100, Mauro Carvalho Chehab wrote: > > > Em Wed, 25 Mar 2020 16:36:31 -0300 Helen Koike escreveu: > > > > On 3/

Re: [PATCH] staging: rtl8188eu: cleanup long line in odm.c

2020-03-26 Thread Michael Straube
On 2020-03-26 01:08, Joe Perches wrote: On Wed, 2020-03-25 at 22:59 +0100, Michael Straube wrote: Cleanup line over 80 characters by removing unnecessary parentheses. [] diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c [] @@ -590,7 +590,7 @@ void odm

[PATCH v2] staging: rtl8188eu: cleanup long line in odm.c

2020-03-26 Thread Michael Straube
Cleanup line over 80 characters by removing unnecessary test 'pDM_Odm->RSSI_Min <= 25'. The above test 'pDM_Odm->RSSI_Min > 25' already guarantees that it is <= 25. Signed-off-by: Michael Straube --- v1 -> v2: Remove 'pDM_Odm->RSSI_Min <= 25' test. drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1

Re: [PATCH 0/4] media Kconfig reorg - part 2

2020-03-26 Thread Mauro Carvalho Chehab
Em Thu, 26 Mar 2020 00:13:43 +0200 Laurent Pinchart escreveu: > Hi Mauro, > > On Wed, Mar 25, 2020 at 10:38:20PM +0100, Mauro Carvalho Chehab wrote: > > Em Wed, 25 Mar 2020 16:36:31 -0300 Helen Koike escreveu: > > > On 3/25/20 1:03 PM, Mauro Carvalho Chehab wrote: > > > > That's the second p

Re: [PATCH] staging: wilc1000: remove label from examples in DT binding documentation

2020-03-26 Thread Ajay.Kathat
Hi Kalle, On 26/03/20 1:15 pm, Kalle Valo wrote: > > writes: > >> From: Ajay Singh >> >> Remove labels and not relevant property from DT binding documentation >> examples as suggested in [1]. >> >> 1. https://patchwork.ozlabs.org/patch/1252837 > > Just a nitpick but patchwork links are not th

[PATCH] staging: remove hp100 driver

2020-03-26 Thread Greg Kroah-Hartman
It's old, obsolete, and no one wants to take care of it anymore. It's been in staging for 5 months with no one paying attention to it, so let's just delete it for now. If someone has this hardware, and wants the driver back, the deletion can be easily reverted. Cc: Joe Perches Cc: Jaroslav Kyse

Re: [PATCH] staging: wilc1000: remove label from examples in DT binding documentation

2020-03-26 Thread Kalle Valo
writes: > From: Ajay Singh > > Remove labels and not relevant property from DT binding documentation > examples as suggested in [1]. > > 1. https://patchwork.ozlabs.org/patch/1252837 Just a nitpick but patchwork links are not that reliable in the long run. Instead using a lore link is better as

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Clean up tests if NULL returned on failure

2020-03-26 Thread Julia Lawall
On Thu, 26 Mar 2020, Simran Singhal wrote: > Some functions like kmalloc/kzalloc return NULL on failure. > When NULL represents failure, !x is commonly used. Try for a shorter subject line. "Simplify NULL tests" would do. Then the log message should be in the imperative. julia > > This wa