mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: linux-kernel@vger.kernel.org
Cc: "Grant Likely" <grant.likely@secretlab.ca>,
	"Lothar Waßmann" <LW@KARO-electronics.de>
Subject: [PATCH] add missing intialisation of bgc->dir
Date: Fri,  1 Jul 2011 14:08:51 +0200	[thread overview]
Message-ID: <1309522131-2237-2-git-send-email-LW@KARO-electronics.de> (raw)
In-Reply-To: <1309522131-2237-1-git-send-email-LW@KARO-electronics.de>

---
 drivers/gpio/basic_mmio_gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/basic_mmio_gpio.c b/drivers/gpio/basic_mmio_gpio.c
index 8152e9f..e69a453 100644
--- a/drivers/gpio/basic_mmio_gpio.c
+++ b/drivers/gpio/basic_mmio_gpio.c
@@ -399,6 +399,7 @@ int __devinit bgpio_init(struct bgpio_chip *bgc,
 		return ret;
 
 	bgc->data = bgc->read_reg(bgc->reg_dat);
+	bgc->dir = bgc->read_reg(bgc->reg_dir);
 
 	return ret;
 }
-- 
1.5.6.5


  reply	other threads:[~2011-07-01 12:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 12:08 [BUGFIX][PATCH] gpiolib: add missing initialisation " Lothar Waßmann
2011-07-01 12:08 ` Lothar Waßmann [this message]
2011-07-04  6:48   ` [PATCH] add missing intialisation " Grant Likely
2011-07-04  9:37     ` Lothar Waßmann
2011-07-04 15:39       ` Grant Likely
2011-07-04 15:51         ` Lothar Waßmann
2011-07-04 16:00           ` Grant Likely
2011-07-04 16:19             ` Lothar Waßmann

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=1309522131-2237-2-git-send-email-LW@KARO-electronics.de \
    --to=lw@karo-electronics.de \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®