[PATCH] staging/ks7010: formatting updates.

2017-02-20 Thread Matthew Giassa
Please pardon the earlier e-mail which was missing the changelog text. Wrapping complex macros with parentheses to remove checkpatch errors. Some additional style changes to appease checkpatch. --- drivers/staging/ks7010/ks_wlan_ioctl.h | 80 +- 1 file changed,

Re: [PATCH v2 0/3] r8a7793 Gose video input support

2017-02-20 Thread Laurent Pinchart
Hi Ulrich, On Thursday 20 Oct 2016 10:49:11 Simon Horman wrote: > On Tue, Oct 18, 2016 at 05:02:20PM +0200, Ulrich Hecht wrote: > > Hi! > > > > This is a by-the-datasheet implementation of analog and digital video > > input on the Gose board. > > > > I have tried to address all concerns raised

[PATCH] arm64: dts: r8a7796: add IMR-LX4 support

2017-02-20 Thread Sergei Shtylyov
Describe the IMR-LX4 devices in the R8A7796 device tree. Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20170217-v4.10-rc8' tag of Simon Horman's 'renesas.git' repo. The IMR-LX4 binding was documented in the IMR driver patch; I

[PATCH] ASoC: rsnd: check return value of init function

2017-02-20 Thread Wolfram Sang
Currently, this function cannot fail for the ADG case. Still, let's apply defensive programming techniques to make sure we fail gracefully whenever rsnd_mod_init() gets extended with another failure case. Reported by Coverity (CID 1397893). Signed-off-by: Wolfram Sang

[PATCH] ASoC: rsnd: drop useles self-assignments

2017-02-20 Thread Wolfram Sang
Coverity reported (CID 1397992) this self-assignment. I think the code stays readable even with the assignments removed. Signed-off-by: Wolfram Sang --- sound/soc/sh/rcar/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sh/rcar/core.c

Re: [PATCHv2 2/5] scripts: Provide bin2png.sh helper

2017-02-20 Thread Geert Uytterhoeven
Hi Kieran, On Mon, Feb 20, 2017 at 6:47 PM, Kieran Bingham wrote: > This change breaks POSIX SH compliance, as reported by shellcheck: > > In scripts/bin2png.sh line 7: > local pnm=${file/%bin/pnm} > ^-- SC2039: In POSIX sh, string

[PATCH/RFC 5/6] arm64: dts: r8a7795: Fix non-PMIC wake-up sources

2017-02-20 Thread Geert Uytterhoeven
The PSCI firmware on boards equipped with an R-Car H3 SoC implements the PSCI SYSTEM_SUSPEND operation by cutting power to the SoC. Hence the only possibly wake-up sources are the ones connected to the PMIC, unless the "arm,psci-system-suspend-is-power-down" property is specified. Signed-off-by:

[PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-20 Thread Geert Uytterhoeven
Hi all, This patch series adds support for using non-PMIC wake-up sources on the Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. Nothing in the PSCI specification requires the SoC to remain powered and to support wake-up sources when suspended using SYSTEM_SUSPEND. If the

[PATCH/RFC 1/6] alarmtimer: Postpone wake-up source registration until really available

2017-02-20 Thread Geert Uytterhoeven
Currently the alarmtimer registers a wake-up source unconditionally, regardless of the system having a (wake-up capable) RTC or not. To fix this, postpone registration until a wake-up capable RTC device is added. After this, the alarmtimer no longer shows up in /sys/kernel/debug/wakeup_sources,

[PATCH/RFC 3/6] drivers: firmware: psci: Implement shallow suspend mode

2017-02-20 Thread Geert Uytterhoeven
Enable support for "shallow" suspend mode, also known as "Standby" or "Power-On Suspend". As secondary CPU cores are taken offline, "shallow" suspend mode saves slightly more power than "s2idle", but less than "deep" suspend mode. However, unlike "deep" suspend mode, "shallow" suspend mode can be

[PATCH/RFC 4/6] drivers: firmware: psci: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-20 Thread Geert Uytterhoeven
Nothing in the PSCI specification requires the SoC to remain powered and to support wake-up sources when suspended using SYSTEM_SUSPEND. If the firmware implements the PSCI SYSTEM_SUSPEND operation by cutting power to the SoC, the only possibly wake-up sources are thus the ones connected to the

[PATCH/RFC 6/6] arm64: dts: r8a7796: Fix non-PMIC wake-up sources

2017-02-20 Thread Geert Uytterhoeven
The PSCI firmware on boards equipped with an R-Car M3-W SoC implements the PSCI SYSTEM_SUSPEND operation by cutting power to the SoC. Hence the only possibly wake-up sources are the ones connected to the PMIC, unless the "arm,psci-system-suspend-is-power-down" property is specified.

[PATCH/RFC 2/6] PM / Wakeup: Add wakeup_source_available()

2017-02-20 Thread Geert Uytterhoeven
Add a helper function to find out if any wake-up sources have been registered. Signed-off-by: Geert Uytterhoeven --- drivers/base/power/wakeup.c | 8 include/linux/pm_wakeup.h | 3 +++ 2 files changed, 11 insertions(+) diff --git

Re: [PATCH 1/1] clk: renesas: cpg-mssr: r8a7796: add IMR clocks

2017-02-20 Thread Sergei Shtylyov
On 02/20/2017 11:38 AM, Geert Uytterhoeven wrote: Add the IMR[0-1] clocks to the R8A7796 CPG/MSSR driver. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- linux.orig/drivers/clk/renesas/r8a7796-cpg-mssr.c +++

[PATCH 6/7] arm: dts: genmai: Add RIIC2 pin group

2017-02-20 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-genmai.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts index

[PATCH 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-02-20 Thread Jacopo Mondi
Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 30 ++ 1 file changed, 30 insertions(+) create mode 100644

Re: [PATCH] vsp-lib: Fix reference frame generation for HSV input formats

2017-02-20 Thread Kieran Bingham
Hi Laurent, On 13/02/17 15:46, Laurent Pinchart wrote: > gen-image doesn't support processing HSV input frames. Fortunately the > HSV tests don't require it either, when they take an HSV input frame > they just pass it straight to the WPF. We can thus set the input format > to RGB for reference

Re: [PATCH 1/1] clk: renesas: cpg-mssr: r8a7796: add IMR clocks

2017-02-20 Thread Geert Uytterhoeven
Hi Sergei, On Sat, Feb 18, 2017 at 10:39 PM, Sergei Shtylyov wrote: > Add the IMR[0-1] clocks to the R8A7796 CPG/MSSR driver. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven >