Re: [PATCH v5 3/3] spi: Add spi driver for Socionext Synquacer platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 21, 2019 at 4:55 PM Ard Biesheuvel
<ard.biesheuvel@xxxxxxxxxx> wrote:
> On Tue, 21 May 2019 at 13:00, Masahisa Kojima
> <masahisa.kojima@xxxxxxxxxx> wrote:

> > +       ret = clk_prepare_enable(sspi->clk);
> > +       if (ret)
> > +               goto put_spi;
> > +
>
> Make this depend on DT probing

We may use devm_clk_get_optional() and drop dependencies.

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux