> 
> The cross-platform gpiolib calls should be used here.
> 
> > +                   snprintf(name, sizeof(name), "hw_dbg%d", i);
> > +                   err = _new_debobs_pad(&debobs_pads[i], name, i,
> > +                                           debobs_root);
> > +                   if (err) {
> > +                           omap_free_gpio(ETK_GPIO(i));
> > +                           return err;
> > +                   }
> > +           }
> > +   }
> 
> In the successful case, future calls to gpio_request() to use these
> lines will fail, since the line is reserved by the omap_request_gpio()
> call.
> 

Yes. That's intended. If debobs sucessfully claims the GPIO line, noone
else should be allowed to claim it, unless debobs releases it again.

Cheers,

Peter.
-- 
goa is a state of mind
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to