aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJan Andersson <[email protected]>2007-09-11 15:23:30 -0700
committerLinus Torvalds <[email protected]>2007-09-11 17:21:19 -0700
commit65e213cdb2e52ba03e61c4d855293054bd8de632 (patch)
tree0cb89fc9b4609734e783e0c0d1cf4299a0878e92 /include/linux
parent9c3013e9b91ad23ecae88e45405e98208cce455d (diff)
spi_mpc83xx: hang fix
When the spi_mpc83xx driver receives a tx_buf pointer which is NULL, it only writes one zero filled word to the transmit register. If the driver expects to receive more than one word it will wait forever for a second receive interrupt. With this patch the controller will shift out zeroes until all words have been received. Signed-off-by: Jan Andersson <[email protected]> Tested-by: Anton Vorontsov <[email protected]> Signed-off-by: David Brownell <[email protected]> Acked-by: Kumar Gala <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions