Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1584769 > unrolled thread

[PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment

Started byBoris Brezillon <boris.brezillon@free-electrons.com>
First post2017-02-20 18:20 +0100
Last post2017-02-20 18:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-02-20 18:20 +0100

#1584769 — [PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment

FromBoris Brezillon <boris.brezillon@free-electrons.com>
Date2017-02-20 18:20 +0100
Subject[PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment
Message-ID<tcZMZ-7x5-9@gated-at.bofh.it>
ebid->numcs is never assigned, set it to numcs after allocating the
EBI dev object.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
 drivers/memory/atmel-ebi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.c
index 833af8d02424..06a1a136d448 100644
--- a/drivers/memory/atmel-ebi.c
+++ b/drivers/memory/atmel-ebi.c
@@ -331,6 +331,7 @@ static int atmel_ebi_dev_setup(struct atmel_ebi *ebi, struct device_node *np,
 		return -ENOMEM;
 
 	ebid->ebi = ebi;
+	ebid->numcs = numcs;
 
 	ret = caps->xlate_config(ebid, np, &conf);
 	if (ret < 0)
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web