AnsweredAssumed Answered

delay_usecs has no effect with espi and spidev

Question asked by Derric Tubbs on Aug 17, 2018
Latest reply on Aug 22, 2018 by Yiping Wang

I'm using the spidev userspace driver on a t1040d4rdb platform with 4.1 kernel.  Changing .delay_usecs on the transfer structure is having no effect on the chip select and the chip select is going high simultaneously with the falling edge of the last clock pulse.  Has anyone had any luck setting the delay or does anyone know why this isn't working.  I looked in the espi driver code and it directly calls udelay with the value of .delay_usecs.  I have hard-coded a value in there now to see if ti changes anything but I can't get on the box to try the change at the moment (I work remote to the box and am having some unrelated networking issues at the moment).

Outcomes