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