Increase SPI buffer size

  • Hello, the driver source code of spidev does not support the bufsiz attribute. You can directly refer to the source code of sysdrv/source/kernel/drivers/spi/spidev.c. The bbufsiz is registered to sysfs using the code "module_param(bufsiz, uint, S_IRUGO);" By default, it is 4096 and the user layer only has read permission. You can modify the spidev driver according to your actual needs.