Skip to content
Commit e634b76c authored by Michal Vokáč's avatar Michal Vokáč Committed by Mark Brown
Browse files

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: default avatarMichal Vokáč <vokac.m@gmail.com>
Reviewed-by: default avatarJoshua Clayton <stillcompiling@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1001354c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment