Thread (8 messages) 8 messages, 2 authors, 2011-01-18

[PATCH] drivers: mmc: msm: update to new arm pfn_to_dma API

From: Daniel Walker <hidden>
Date: 2011-01-18 20:22:43
Also in: linux-arm-msm

On Tue, 2011-01-18 at 18:28 +0000, Russell King - ARM Linux wrote:
On Tue, Jan 18, 2011 at 10:04:04AM -0800, Daniel Walker wrote:
quoted
The page_to_dma() API call was removed. It caused this build
failure,
Because it's an API internal interface.  Don't use it.  Why is this
driver poking about in API internals all over the place?
If it's internal why is this driver able to call it?
That is completely broken.  Please use the official APIs - it's not
hard.  Here's how to do it correctly:
Can you make this into a patch and send it to David Brown ?
and when you use writel() etc afterwards, those non-cacheable writes to
box-> will be ordered with your device write.

So that's a NAK for your original patch.
Are you given us alternative to my fix yet? I didn't see any of your
comments touching that area?

Daniel

-- 

Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help