Re: [PATCH] i2c: ocores: rework clk code to handle NULL cookie

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

 



On Fri, Feb 20, 2015 at 07:51:44PM +0300, Max Filippov wrote:
> Hi Wolfram,
> 
> On Thu, Feb 19, 2015 at 7:37 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> >
> > For, !HAVE_CLK the clk API returns a NULL cookie. Rework the
> > initialization code to handle that. If clk_get_rate() delivers 0, we use
> > the fallback mechanisms. The patch is pretty easy when ignoring white
> > space issues (git diff -b).
> >
> > Suggested-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> > Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
> > Cc: Peter Korsgaard <jacmet@xxxxxxxxxx>
> > ---
> >
> > Max, can you please test/review. I can only compile-test. This is the outcome
> > of this thread: https://lkml.org/lkml/2015/2/5/544
> 
> I've tested it with and without HAVE_CLK, both work well for me.

Great, thanks!

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux