Thread (32 messages) 32 messages, 3 authors, 2015-07-20

[PATCH v5 05/12] mtd: pxa3xx_nand: rework flash detection and timing setup

From: ezequiel@vanguardiasur.com.ar (Ezequiel Garcia)
Date: 2015-05-11 22:14:12
Also in: lkml

On 05/11/2015 11:58 AM, Antoine Tenart wrote:
[..]
-
-	/* calculate flash information */
-	host->read_id_bytes = (f->page_size == 2048) ? 4 : 2;
-
[..]
quoted hunk ↗ jump to hunk
@@ -1732,6 +1669,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
 		host->mtd = mtd;
 		host->cs = cs;
 		host->info_data = info;
+		host->read_id_bytes = 4;
Are you sure this is correct? The value is set according to the page
size before this patch.

-- 
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help