Re: [git pull] clk: renesas: Updates for v4.7 (take three)

2016-05-02 Thread Stephen Boyd
On 05/02, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Hi Mike, Stephen, > > The following changes since commit 2066390ad47b374f3d35075a32325b47d15bf735: > > clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev() (2016-04-20 > 09:17:07 +0200) >

[RFC 4/4] mmc: sh_mobile_sdhi: check return value when changing clk

2016-05-02 Thread Wolfram Sang
From: Wolfram Sang And return the old clock rate if something went wrong. Signed-off-by: Wolfram Sang --- drivers/mmc/host/sh_mobile_sdhi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[RFC 1/4] mmc: sh_mobile_sdhi: make clk_update function more compact

2016-05-02 Thread Wolfram Sang
From: Wolfram Sang Save a few lines, the codebase is large enough. Signed-off-by: Wolfram Sang --- drivers/mmc/host/sh_mobile_sdhi.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Geert Uytterhoeven
Hi Linus, On Mon, May 2, 2016 at 11:25 AM, Linus Walleij wrote: > On Mon, May 2, 2016 at 11:10 AM, Geert Uytterhoeven > wrote: >> On Mon, May 2, 2016 at 11:06 AM, Linus Walleij >> wrote: >>> On Mon, May 2, 2016 at 11:04

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Geert Uytterhoeven
Hi Linus, On Mon, May 2, 2016 at 11:06 AM, Linus Walleij wrote: > On Mon, May 2, 2016 at 11:04 AM, Geert Uytterhoeven > wrote: > >> [silly response deleted] >> >> Scrap it. > > :D > >> The only annoying thing is that 0 cannot easily be propagated

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Linus Walleij
On Mon, May 2, 2016 at 11:04 AM, Geert Uytterhoeven wrote: > [silly response deleted] > > Scrap it. :D > The only annoying thing is that 0 cannot easily be propagated upstream as > an error code, so it has to be tested for explicitly. Well with the Big Penguin's clear

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Geert Uytterhoeven
Hi Linus, On Mon, May 2, 2016 at 10:30 AM, Linus Walleij wrote: > On Mon, May 2, 2016 at 10:03 AM, Geert Uytterhoeven > wrote: >> On Sun, May 1, 2016 at 10:48 AM, Linus Walleij >> wrote: - Drivers that call

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Linus Walleij
On Mon, May 2, 2016 at 10:03 AM, Geert Uytterhoeven wrote: > On Sun, May 1, 2016 at 10:48 AM, Linus Walleij > wrote: >>> - Drivers that call irq_find_mapping(), irq_create_mapping(), or >>> irq_create_fwspec_mapping() return zero! This

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Geert Uytterhoeven
Hi Linus, On Sun, May 1, 2016 at 10:48 AM, Linus Walleij wrote: >> Currrently the gpio_chip.to_irq() callback returns -ENOSYS on error, >> which causes bad interactions with the serial_mctrl_gpio helpers. >> >> mctrl_gpio_init() returns -ENOSYS if GPIOLIB is not

Re: [PATCH v3] ARM: dts: r8a7793: Add MMCIF0

2016-05-02 Thread Geert Uytterhoeven
Hi Ulrich, On Fri, Apr 29, 2016 at 6:01 PM, Ulrich Hecht wrote: > --- a/arch/arm/boot/dts/r8a7793.dtsi > +++ b/arch/arm/boot/dts/r8a7793.dtsi > @@ -543,6 +543,19 @@ > status = "disabled"; > }; > > + mmcif0: mmcif@ee20 { > +