Re: [PATCH][MIPS][3/6]: AR7: VLYNQ bus

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

 



On Thu, Apr 03, 2008 at 02:19:03AM +0200, Matteo Croce wrote:
> > @@ -371,12 +371,20 @@ static int __vlynq_enable_device(struct 
> >  
> >         switch (dev->divisor) {
> >         case vlynq_div_auto:
> > -               /* Only try locally supplied clock, others cause problems */
> > +       
> > +               vlynq_reg_write(dev->local->control, 0);
> >                 vlynq_reg_write(dev->remote->control, 0);
> > +               if (vlynq_linked(dev)) {
> > +                       printk(KERN_DEBUG "%s: using external clock\n",
> > +                              dev->dev.bus_id);
> > +                       return 0;
> > +               }
> > +
> >                 for (i = vlynq_ldiv2; i <= vlynq_ldiv8; i++) {
> >                         vlynq_reg_write(dev->local->control,
> >                                         VLYNQ_CTRL_CLOCK_INT |
> >                                         VLYNQ_CTRL_CLOCK_DIV(i - vlynq_ldiv1));
> > +                       vlynq_reg_write(dev->remote->control, 0);
> >                         if (vlynq_linked(dev)) {
> >                                 printk(KERN_DEBUG
> >                                        "%s: using local clock divisor %d\n",
> > 
> > Flo
> 
> isn't this what I do in my last patch?

I was shoveling through my inbox top down and the first mail was the
original patch i was referring to - sorry for the noise...

Flo
-- 
Florian Lohoff                  flo@xxxxxxxxxx             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux