On Mon, May 02, 2016 at 01:19:24PM +0200, Stefan Roese wrote: > + if ((orion_spi->direct_access[cs].vaddr) && (xfer->tx_buf) && > + (word_len == 8)) { > + unsigned int cnt = count >> 2; > + unsigned int rem = count % 4; For the benefit of readers please write divisions as divisions and let the compiler figure out if they can be turned into shifts.
Attachment:
signature.asc
Description: PGP signature