Skip to content

increase transmit buffer pointer on each transfer#1

Open
pdaxrom wants to merge 1 commit into
StephanvanSchaik:sunxi-spifrom
pdaxrom:sunxi-spi
Open

increase transmit buffer pointer on each transfer#1
pdaxrom wants to merge 1 commit into
StephanvanSchaik:sunxi-spifrom
pdaxrom:sunxi-spi

Conversation

@pdaxrom
Copy link
Copy Markdown

@pdaxrom pdaxrom commented Sep 27, 2017

Also FIFO increased for maximum size. Tested with Orange Pi Zero (H2+)

Comment thread drivers/spi/sunxi_spi.c

while (len) {
nbytes = min(len, (size_t)64 - 1);
nbytes = min(len, (size_t) 64);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I am aware this doesn't work for SPI2 on the A10 (see drivers/spi/spi-sun4i.c in the Linux kernel source).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants