Re: [PATCH 3/4] Added input buffer from the terminal.

2015-03-09 Thread Mark Brown
On Sat, Mar 07, 2015 at 12:56:34PM -0500, Adrian Remonda wrote: > + int ret = 0; > + char *pSrc = src; The kernel coding style doesn't use Hungarian notation... > + if (input_tx) { > + size = strlen(input_tx+1); > + tx = (uint8_t *)malloc(size); > +

[PATCH 3/4] Added input buffer from the terminal.

2015-03-07 Thread Adrian Remonda
Now it is possible to send string and hexadecimal data as an input parameter modified: Documentation/spi/spidev_test.c Signed-off-by: Adrian Remonda --- Documentation/spi/spidev_test.c | 76 ++- 1 file changed, 60 insertions(+), 16 deletions(-) d