Hi,

(2015/01/15 23:21), Geert Uytterhoeven wrote:
Hi Iwamatsu-san,

Thanks for the update!

On Thu, Jan 15, 2015 at 2:50 AM, Nobuhiro Iwamatsu
<[email protected]>  wrote:
@@ -804,7 +803,9 @@ static int sh_msiof_transfer_one(struct spi_master *master,
         int ret;

         /* setup clocks (clock already enabled in chipselect()) */
-       sh_msiof_spi_set_clk_regs(p, clk_get_rate(p->clk), t->speed_hz);
+       ret = sh_msiof_spi_set_clk_regs(p, clk_get_rate(p->clk), t->speed_hz);
+       if (ret)
+               return ret;

I think this can be handled by the core, if we fill in spi_master.min_speed_hz.

I see. I removed this change.


BTW, you should also CC Mark Brown when sending SPI patches.

OK, I will add him form next patch.


Gr{oetje,eeting}s,

                         Geert

Best regards,
  Nobuhiro


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                 -- Linus Torvalds

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to