RE: [PATCH v5 1/3] mmc: sh_mobile_sdhi: add support for 2 clocks

2017-01-23 Thread Chris Brandt
Hi Geert, On Monday, January 23, 2017, Geert Uytterhoeven: > > @@ -190,6 +191,12 @@ static int sh_mobile_sdhi_clk_enable(struct > tmio_mmc_host *host) > > if (ret < 0) > > return ret; > > > > + ret = clk_prepare_enable(priv->clk_cd); > > + if (ret < 0) { > > +

Re: [PATCH v5 1/3] mmc: sh_mobile_sdhi: add support for 2 clocks

2017-01-23 Thread Geert Uytterhoeven
Hi Chris, On Sat, Jan 21, 2017 at 4:06 AM, Chris Brandt wrote: > Some controllers have 2 clock sources instead of 1. The 2nd clock > is for the internal card detect logic and must be enabled/disabled > along with the main core clock for proper operation. > >

Re: [PATCH v5 1/3] mmc: sh_mobile_sdhi: add support for 2 clocks

2017-01-21 Thread Wolfram Sang
On Fri, Jan 20, 2017 at 10:06:02PM -0500, Chris Brandt wrote: > Some controllers have 2 clock sources instead of 1. The 2nd clock > is for the internal card detect logic and must be enabled/disabled > along with the main core clock for proper operation. > > Signed-off-by: Chris Brandt