public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: Daniel Mack <zonque@gmail.com>
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org,
	Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Subject: Re: [PATCH v2] mtd: devices: elm: check for device's presence before configuration
Date: Mon, 04 Mar 2013 08:47:47 +0100	[thread overview]
Message-ID: <87r4jvehcs.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1362355040-27344-1-git-send-email-zonque@gmail.com> (Daniel Mack's message of "Mon, 4 Mar 2013 00:57:20 +0100")

>>>>> "Daniel" == Daniel Mack <zonque@gmail.com> writes:

 Daniel> In case the driver is not probed - due to config mismatches or errors
 Daniel> in the DTS files - dev_get_drvdata() returns NULL, leading to an Ooops
 Daniel> during boot.

 Daniel> Make elm_config() return an error in such cases to propagate the error
 Daniel> up to the user, so it can fall back to software mode.

 Daniel> Signed-off-by: Daniel Mack <zonque@gmail.com>
 Daniel> Cc: Philip Avinash <avinashphilip@ti.com>
 Daniel> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
 Daniel> Cc: Peter Korsgaard <jacmet@sunsite.dk>

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2013-03-04  7:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 23:57 [PATCH v2] mtd: devices: elm: check for device's presence before configuration Daniel Mack
2013-03-04  7:47 ` Peter Korsgaard [this message]
2013-03-05 10:24   ` Daniel Mack
2013-03-05 10:26     ` Philip, Avinash
2013-03-08 14:48       ` Daniel Mack
2013-03-11  9:19 ` Artem Bityutskiy

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=87r4jvehcs.fsf@dell.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=zonque@gmail.com \
    /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