Prevent submission of empty read requests in linux_spi
The submission of zero-sized read requests in a write-only transaction
fails at least for omap2_mcspi drivers and is pointless in general.
This patch does not address the implementation of zero-sized writes (which
would need to skip the write command), as there are no flash transactions
not starting with a command.
Corresponding to flashrom svn r1513.
Signed-off-by: Michael Karcher <email@example.com>
Acked-by: Stefan Tauner <firstname.lastname@example.org>
1 file changed