All of lore.kernel.org
 help / color / mirror / Atom feed
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 6/7] memory: atmel-ebi: Add missing ->numcs assignment
Date: Thu, 16 Mar 2017 09:30:33 +0100	[thread overview]
Message-ID: <1489653034-17777-7-git-send-email-boris.brezillon@free-electrons.com> (raw)
In-Reply-To: <1489653034-17777-1-git-send-email-boris.brezillon@free-electrons.com>

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 8beba9a60d1c..7d24a957e98c 100644
--- a/drivers/memory/atmel-ebi.c
+++ b/drivers/memory/atmel-ebi.c
@@ -332,6 +332,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

  parent reply	other threads:[~2017-03-16  8:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  8:30 [PATCH 0/7] memory: atmel-ebi: Add PM ops Boris Brezillon
2017-03-16  8:30 ` [PATCH v2 1/7] mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation Boris Brezillon
2017-03-16 10:15   ` Lee Jones
2017-03-16  8:30 ` [PATCH v2 2/7] memory: atmel-ebi: Simplify SMC config code Boris Brezillon
2017-03-16  8:30 ` [PATCH v2 3/7] memory: atmel-ebi: Stop using reg_field objects for simple things Boris Brezillon
2017-03-16  8:30 ` [PATCH v2 4/7] mfd: syscon: atmel-smc: Remove unused helpers/macros Boris Brezillon
2017-03-16 10:16   ` Lee Jones
2017-03-16 10:34     ` Boris Brezillon
2017-03-16 12:18       ` Lee Jones
2017-03-27  9:25         ` Nicolas Ferre
2017-03-16  8:30 ` [PATCH v2 5/7] memory: atmel-ebi: Change naming scheme Boris Brezillon
2017-03-16  8:30 ` Boris Brezillon [this message]
2017-03-16  8:30 ` [PATCH v2 7/7] memory: atmel-ebi: Add PM ops Boris Brezillon
2017-03-27  9:25 ` [PATCH 0/7] " Nicolas Ferre
2017-03-27 15:14   ` Lee Jones
2017-03-27 15:21     ` Alexandre Belloni
2017-04-03 10:01 ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489653034-17777-7-git-send-email-boris.brezillon@free-electrons.com \
    --to=boris.brezillon@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.