summaryrefslogtreecommitdiffstats
path: root/net/tipc/dbg.c
diff options
context:
space:
mode:
authorScott Ellis2010-03-10 22:23:13 +0100
committerGrant Likely2010-03-10 22:23:13 +0100
commit9bd4517ddc51c803784778ab52e6f0bc03b77a52 (patch)
tree971c3b5a412ea3b4791f84deaa195bbfbf6a7422 /net/tipc/dbg.c
parentspi/omap2_mcspi: fix NULL pointer dereference (diff)
downloadkernel-qcow2-linux-9bd4517ddc51c803784778ab52e6f0bc03b77a52.tar.gz
kernel-qcow2-linux-9bd4517ddc51c803784778ab52e6f0bc03b77a52.tar.xz
kernel-qcow2-linux-9bd4517ddc51c803784778ab52e6f0bc03b77a52.zip
spi/omap2_mcspi: Use transaction speed if provided
omap2_mcspi_transfer() gets called in omap2_mcspi_work() when the transaction speed_hz or bits_per_word fields are non-zero. omap2_mcspi_transfer() does not look at the speed_hz field so the override speed value is ignored. The code should probably change to one of these options. 1. Skip the call to omap2_mcsp_transfer() if the only reason was a non-zero speed_hz and it's not going to be used. 2. Use the new speed_hz value provided The patch below uses the speed_hz value. Signed-off-by: Scott Ellis <scott@jumpnowtek.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'net/tipc/dbg.c')
0 files changed, 0 insertions, 0 deletions