git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538a18d
)
spi/spi-pl022: Don't allocate more sg than required.
author
Viresh Kumar
<viresh.kumar@st.com>
Wed, 10 Aug 2011 11:42:11 +0000
(17:12 +0530)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 21 Sep 2011 15:41:47 +0000
(09:41 -0600)
In routine configure_dma(), if transfer->len = PAGE_SIZE, then pages is one more
than required. While leads to one more sg getting allocated.
This is wrong. Correct this to allocate correct number of sg.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-pl022.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi-pl022.c
Simple merge