linux-stable/tools/spi
Michal Vokáč e634b76caf spi: spidev_test: Fix input file check when transferring file
Check the input file fd instead of spidev fd.
The spidev fd is supposed to be OK otherwise the transfer_file() function
would not be called at all.

Signed-off-by: Michal Vokáč <vokac.m@gmail.com>
Reviewed-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-11-04 09:56:09 -06:00
..
.gitignore spi: tools: move spidev_test metadata 2015-11-30 12:14:12 +00:00
Makefile spi: tools: enable CROSS_COMPILE in Makefile 2016-09-12 20:02:25 +01:00
spidev_fdx.c
spidev_test.c spi: spidev_test: Fix input file check when transferring file 2016-11-04 09:56:09 -06:00