On Wednesday, November 29, 2017, Fabio Estevam wrote:
> > +               if (readw_poll_timeout(r8a66597->reg + DCPCTR, dcpctr,
> > +                                      dcpctr & BSTS, 1000) < 0) {
> > +                       printf("DCPCTR BSTS timeout!\n");
> > +                       return -1;
> 
> What about returning -ETIMEDOUT instead?


OK, that sounds reasonable.


Chris
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to