Thread (83 messages) 83 messages, 21 authors, 2011-07-08
STALE5466d

[PATCH 2/9] davinci: sram: ioremap the davinci_soc_info specified sram regions

From: Ben Gardiner <hidden>
Date: 2011-05-18 13:36:16

Hi Sekhar,

Thanks for the review.

On Wed, May 18, 2011 at 9:18 AM, Nori, Sekhar [off-list ref] wrote:

[...]
quoted
? ? ? if (len) {
? ? ? ? ? ? ? len = min_t(unsigned, len, SRAM_SIZE);
- ? ? ? ? ? ? davinci_pv_pool = pv_pool_create((void *)SRAM_VIRT,
+ ? ? ? ? ? ? addr = ioremap(davinci_soc_info.sram_phys, len);
+ ? ? ? ? ? ? if (!addr)
+ ? ? ? ? ? ? ? ? ? ? return -EIO;
-ENOMEM here (for the next time you post). See Sergei's
mail on error codes below. Useful stuff.

https://patchwork.kernel.org/patch/47365/
Will do. Thanks for the useful reference also (and to Sergei for writing it).

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help