msperl / spi-config

spi board configuration without having to recompile the kernel
GNU General Public License v2.0
13 stars 3 forks source link

Documentation example uses invalid parameters #1

Open deltaphi opened 10 years ago

deltaphi commented 10 years ago

README.md contains an example line on how to load the spi-config module. Executing this line leads to two errors.

First error:

spi_config_register: unsupported argument pdl - ignoring config

Looking at the description for the parameters, "pdl" does not exist. I suspect that this was changed to "pd" at some point.

Second error:

spi_config_register: unsupported argument pdsu32-4 - ignoring config

Again, looking at the description, "pdsu32-" does not exist. I am not sure whether "pds32-" or "pdu32-" is correct.

msperl commented 10 years ago

Looking into it - there are some issues with the parser that I need to resolve. pdl and pdsu32 have been fixed...