commit | e634b76caf830e802731e3491b24726883d1be98 | [log] [tgz] |
---|---|---|
author | Michal Vokáč <vokac.m@gmail.com> | Fri Nov 04 11:30:03 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Fri Nov 04 09:56:09 2016 -0600 |
tree | 56cd762b2391b6d5f0413488cfedbf0b0ef5078b | |
parent | 1001354ca34179f3db924eb66672442a173147dc [diff] |
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>