> > + if (0) { /* FIXME: how to check if EXTALR rate is > 0? */ > > Can't you just get its rate? > Please cc linux-clk for questions like this. I wondered if a clock provider has an easier method than simply becoming a clock consumer of its own clock. I thought some of you might know something. I'll have a second look. If that fails, I'll ask the clk list, of course.