mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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áč <[email protected]> Reviewed-by: Joshua Clayton <[email protected]> Signed-off-by: Mark Brown <[email protected]>