[PATCH 5/5] arm64: dts: imx8mq-thor96: Replace deprecated phy reset properties

2020-08-23 Thread Krzysztof Kozlowski
Use preferred properties of phy node instead of deprecated phy-reset-gpios (and others). This avoids copying deprecated code into future DTSes. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/freescale/imx8mq-thor96.dts | 2 +- 1 file changed, 1 insertion(+),

[PATCH 4/5] arm64: dts: imx8mq-sr-som: Replace deprecated phy reset properties

2020-08-23 Thread Krzysztof Kozlowski
Use preferred properties of phy node instead of deprecated phy-reset-gpios (and others). This avoids copying deprecated code into future DTSes. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi | 4 ++-- 1 file changed, 2 insertions(

Re: [git pull] habanalabs fixes pull request for kernel 5.9-rc2/3

2020-08-23 Thread Greg KH
On Sat, Aug 22, 2020 at 01:12:50PM +0300, Oded Gabbay wrote: > Hello Greg, > > This is the pull request for habanalabs driver fixes for 5.9-rc2/3. > Mostly security fixes but also some functionality fixes. More details are > in the tag. > > Thanks, > Oded > > The following changes since commit 5

[PATCH] firestream: Fix memleak in fs_open

2020-08-23 Thread Dinghao Liu
When make_rate() fails, vcc should be freed just like other error paths in fs_open(). Signed-off-by: Dinghao Liu --- drivers/atm/firestream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 2ca9ec802734..510250cf5c87 100644 --- a/driv

include/linux/rwlock_api_smp.h:150:23: error: 'do_raw_read_trylock' undeclared; did you mean

2020-08-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c3d8f220d01220a5b253e422be407d068dc65511 commit: 0cd39f4600ed4de859383018eb10f0f724900e1b locking/seqlock, headers: Untangle the spaghetti monster date: 2 weeks ago config: sh-j2_defconfig (attached as .co

Re: [PATCH v2] hv_utils: drain the timesync packets on onchannelcallback

2020-08-23 Thread Vineeth Pillai
Typo "packaet". No need to resend. I can fix this while committing this patch. Thanks Wei.

cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mvme7100.dtb.dts.tmp: No such file or directory

2020-08-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c3d8f220d01220a5b253e422be407d068dc65511 commit: cc8a51ca6f05ade72f7dd2624bc5f9b948e216fc kbuild: always create directories of targets date: 2 weeks ago config: powerpc64-randconfig-r032-20200823

Re: [PATCH] ARM: dts: imx6sx-sdb: Add headphone detection for sound card

2020-08-23 Thread S.j. Wang
Hi Shawn > > > I didn't put headphone detect GPIO in audmux group in imx6sl-evk > > patch, Still in hog group. > > Ok, sorry. You grouped it with MX6SL_PAD_AUD_MCLK__AUDIO_CLK_OUT, > which I also think should not be part of the hog group. > > > And I think headphone detect GPIO is not belong to

[GIT PULL] Please pull powerpc/linux.git powerpc-5.9-3 tag

2020-08-23 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.9. There's one non-fix, which is the perf extended regs support. That was posted way back but I waited for the tools/perf part to land, which it now has. cheers The following changes since comm

Re: [PATCH v2] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-08-23 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thirumalesha-Narasimhappa/mtd-spinand-micron-add-support-for-MT29F2G01AAAED/20200823-191310 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

[PATCH] clocksource/drivers/cadence-ttc: Fix memleak in ttc_setup_clockevent

2020-08-23 Thread Dinghao Liu
When clk_notifier_register() fails, ttcce should be freed just like when clk_prepare_enable() and request_irq() fail. Signed-off-by: Dinghao Liu --- drivers/clocksource/timer-cadence-ttc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/timer-cadence-ttc.c b/drivers/cloc

Re: [PATCH v4 0/2] Add new UniPhier AHCI PHY driver

2020-08-23 Thread Vinod Koul
Hello, On 21-08-20, 18:20, Kunihiko Hayashi wrote: > Gentle ping. > Are there any comments in this series? Sorry I dont have this in my inbox, can you please rebease and resend to me as well Thanks > > Thank you, > > On 2020/07/16 17:32, Kunihiko Hayashi wrote: > > This series adds support for

Re: [PATCH v2] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-08-23 Thread Boris Brezillon
On Sun, 23 Aug 2020 19:14:10 +0800 Thirumalesha Narasimhappa wrote: > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Narasimhappa > --- > v2: removed SPINAND_SELECT_TARGET as per the comments & fixed typo errors > > drivers/mtd/

RE: [PATCH] x86: work around clang IAS bug referencing __force_order

2020-08-23 Thread David Laight
From: Arvind Sankar > Sent: 22 August 2020 22:17 ... > Assuming we don't want to risk removing force_order, I'd suggest > - make it an input/output operand, so it enforces ordering fully. > - either restrict it to gcc < 8, or just provide a proper definition in > some file (maybe arch/x86/kernel/

[PATCH] net: ocelot: Add of_node_put() before return statement

2020-08-23 Thread Sumera Priyadarsini
Every iteration of for_each_available_child_of_node() decrements the reference count of the previous node, however when control is transferred from the middle of the loop, as in the case of a return or break or goto, there is no decrement thus ultimately resulting in a memory leak. Fix a potential

[PATCH 2/2] ASoC: ak5558: Add regulator support

2020-08-23 Thread Shengjiu Wang
"AVDD" is for analog power supply, "DVDD" is for digital power supply, they can improve the power management. As the regulator is enabled in pm runtime resume, which is behind the component driver probe, so accessing registers in component driver probe will fail. Fix this issue by enabling regcac

[PATCH 1/2] ASoC: dt-bindings: ak5558: Add power supply property

2020-08-23 Thread Shengjiu Wang
AVDD-supply is for Analog power supply DVDD-supply is for Digital power supply Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/ak5558.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ak5558.txt b/Documentation/devicetree/

[PATCH] net: dsa: Add of_node_put() before break statement

2020-08-23 Thread Sumera Priyadarsini
Every iteration of for_each_child_of_node() decrements the reference count of the previous node, however when control is transferred from the middle of the loop, as in the case of a return or break or goto, there is no decrement thus ultimately resulting in a memory leak. Fix a potential memory le

Re: [PATCH V5 3/7] phy: tegra: xusb: Add USB2 pad power control support for Tegra210

2020-08-23 Thread Vinod Koul
On 20-07-20, 15:25, Nagarjuna Kristam wrote: > Add USB2 pad power on and off API's for TEgra210 and provide its control > via soc ops. It can be used by operations like charger detect to power on > and off USB2 pad if needed. > > Signed-off-by: Nagarjuna Kristam > Acked-by: Thierry Reding > ---

Re: [PATCH v5] phy: samsung: Use readl_poll_timeout function

2020-08-23 Thread Vinod Koul
On 20-07-20, 17:35, Anand Moon wrote: > Instead of a busy waiting while loop using udelay > use readl_poll_timeout function to check the condition > is met or timeout occurs in crport_handshake function. > readl_poll_timeout is called in non atomic context so > it safe to sleep until the condition

[PATCH v1 0/6] Introduce Embedded Controller driver for Acer A500

2020-08-23 Thread Dmitry Osipenko
Hello! This series adds support for the Embedded Controller which is found on Acer Iconia Tab A500 (Android tablet device). The Embedded Controller is ENE KB930 and it's running firmware customized for the A500. The firmware interface may be reused by some other sibling Acer tablets, although non

[PATCH v1 5/6] dt-bindings: mfd: ene-kb3930: Document power-supplies and monitored-battery properties

2020-08-23 Thread Dmitry Osipenko
Battery could be connected to the controller and in this case controller will provide a battery-monitor function. The power-supplies phandle property is needed in order to describe the power supply which is used for charging of the battery, this allows to determine whither battery is charging or d

[PATCH v1 3/6] leds: Add driver for Acer Iconia Tab A500

2020-08-23 Thread Dmitry Osipenko
Acer Iconia Tab A500 is an Android tablet device which has two LEDs embedded into the Power Button. Orange LED indicates "battery charging" status and white LED indicates "wake-up/charge-done" status. The new LED driver provides control over both LEDs to userspace. Signed-off-by: Dmitry Osipenko

[PATCH v1 1/6] mfd: Add driver for Embedded Controller found on Acer Iconia Tab A500

2020-08-23 Thread Dmitry Osipenko
Acer Iconia Tab A500 is an Android tablet device, it has ENE KB930 Embedded Controller which provides battery-gauge, LED, GPIO and some other functions. The EC uses firmware that is specifically customized for Acer A500. This patch adds MFD driver for the Embedded Controller which allows to power-o

[PATCH v1 6/6] ARM: tegra: acer-a500: Add Embedded Controller

2020-08-23 Thread Dmitry Osipenko
This patch adds device-tree node for the Embedded Controller which is found on the Picasso board. The Embedded Controller itself is ENE KB930, it provides functions like battery-gauge/LED/GPIO/etc and it uses firmware that is specifically customized for the Acer A500 device. Signed-off-by: Dmitry

[PATCH v1 2/6] power: supply: Add battery gauge driver for Acer Iconia Tab A500

2020-08-23 Thread Dmitry Osipenko
This patch adds battery gauge driver for Acer Iconia Tab A500 device. The battery gauge function is provided via the Embedded Controller, which is found on the Acer A500. Signed-off-by: Dmitry Osipenko --- drivers/power/supply/Kconfig | 6 + drivers/power/supply/Makefile

[PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Dmitry Osipenko
The ENE KB930 hardware is compatible with KB3930. Acer A500 Iconia Tab is Android tablet device, it has KB930 controller that is running firmware specifically customized for the needs of the Acer A500 hardware. This means that firmware interface isn't re-usable by other non-Acer devices. Some akin

Re: [PATCH v2 0/3] phy: ti: am654: improve PCIe enumeration performance

2020-08-23 Thread Vinod Koul
On 28-07-20, 01:16, Sekhar Nori wrote: > This patch series updates AM654x PCIe serdes settings to > latest recommended by hardware. This fixes Gen2 enumeration > issues seen previously. Applied after fixing typo 'threshold' in last patch, thanks -- ~Vinod

Re: [PATCH] ARM: dts: imx6sx-sdb: Add headphone detection for sound card

2020-08-23 Thread Fabio Estevam
Hi Wang Shengjiu and Shawn, On Sun, Aug 23, 2020 at 9:31 AM S.j. Wang wrote: > I would like to know your opinion, should I move headphone detect GPIO > To audmux group? What about adding a dedicated pinctrl_hp for the headphone detect pin like it is done at: https://git.kernel.org/pub/scm/linux

[PATCH v1] brcmfmac: increase F2 watermark for BCM4329

2020-08-23 Thread Dmitry Osipenko
This patch fixes SDHCI CRC errors during of RX throughput testing on BCM4329 chip if SDIO BUS is clocked above 25MHz. In particular the checksum problem is observed on NVIDIA Tegra20 SoCs. The good watermark value is borrowed from downstream BCMDHD driver and it's the same as the value used for the

Re: [PATCH] net: dsa: Add of_node_put() before break statement

2020-08-23 Thread Andrew Lunn
On Sun, Aug 23, 2020 at 07:31:16PM +0530, Sumera Priyadarsini wrote: > Every iteration of for_each_child_of_node() decrements > the reference count of the previous node, however when control > is transferred from the middle of the loop, as in the case of > a return or break or goto, there is no dec

Re: [PATCH] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Ing. Josua Mayer
Hi Christian, I have formally tested the patch with 5.7.10 - and it doesn't resolve the issue - sadly :( >From my testing, the reads on VIVS_HI_CHIP_PRODUCT_ID VIVS_HI_CHIP_ECO_ID need to be conditional - while VIVS_HI_CHIP_CUSTOMER_ID seems to be okay. br josau Mayer Am 21.08.20 um 20:17 schri

Re: [PATCH] net: arc_emac: Fix memleak in arc_mdio_probe

2020-08-23 Thread Andrew Lunn
On Sun, Aug 23, 2020 at 04:56:47PM +0800, Dinghao Liu wrote: > When devm_gpiod_get_optional() fails, bus should be > freed just like when of_mdiobus_register() fails. > > Fixes: 1bddd96cba03d ("net: arc_emac: support the phy reset for emac driver") > Signed-off-by: Dinghao Liu Reviewed-by: Andre

Re: [PATCH 1/2] media: uvcvideo: Ensure all probed info is returned to v4l2

2020-08-23 Thread Laurent Pinchart
Hi Adam, Thank you for the patch. On Sat, Aug 22, 2020 at 09:21:33PM -0400, Adam Goode wrote: > bFrameIndex and bFormatIndex can be negotiated by the camera during > probing, resulting in the camera choosing a different format than > expected. v4l2 can already accommodate such changes, but the co

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-23 Thread Laurent Pinchart
Hi Adam, Thank you for the patch. On Sat, Aug 22, 2020 at 09:21:34PM -0400, Adam Goode wrote: > The Color Matching Descriptor has been present in USB cameras since > the original version of UVC, but it has never been fully used > in Linux. > > This change informs V4L2 of all of the critical colo

Re: [PATCH] drm/bridge/tc358775: Fix for PTR_ERR

2020-08-23 Thread Sam Ravnborg
On Sun, Aug 16, 2020 at 11:20:41AM +0530, Vinay Simha BN wrote: > passing zero to 'PTR_ERR' > > Reported-by: kernel test robot > Signed-off-by: Vinay Simha BN Applied to drm-misc-next - thanks. Sam > --- > drivers/gpu/drm/bridge/tc358775.c | 2 +- > 1 file changed, 1 insertion(+), 1

<    1   2   3   4