diff options
| author | Michal Vokáč <vokac.m@gmail.com> | 2016-11-04 13:30:03 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2016-11-04 18:56:09 +0300 |
| commit | e634b76caf830e802731e3491b24726883d1be98 (patch) | |
| tree | 56cd762b2391b6d5f0413488cfedbf0b0ef5078b /lib/mpi/mpi-inline.h | |
| parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
| download | linux-e634b76caf830e802731e3491b24726883d1be98.tar.xz | |
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>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
