diff options
author | Michal Vokáč <vokac.m@gmail.com> | 2016-11-04 11:30:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-04 09:56:09 -0600 |
commit | e634b76caf830e802731e3491b24726883d1be98 (patch) | |
tree | 56cd762b2391b6d5f0413488cfedbf0b0ef5078b /drivers/gpio/devres.c | |
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>
Diffstat (limited to 'drivers/gpio/devres.c')
0 files changed, 0 insertions, 0 deletions