Re: [PATCH] i.MX: SPI: Respect SPI_LSB_FIRST flag in mode settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Better introduce a imx_xchg_single which does the necessary bit
> reversing and calls imx->xchg_single. This avoids duplicating the code
> for all three bits_per_word settings.
>

I like this idea. Will do for the next version of the patch.

Thanks,
Andrey

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux