All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miguel Aguilar <miguel.aguilar@ridgerun.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>,
	davinci-linux-open-source@linux.davincidsp.com,
	clark.becker@ridgerun.com, linux-input@vger.kernel.org,
	santiago.nunez@ridgerun.com, todd.fischer@ridgerun.com
Subject: Re: [PATCH v2 1/2] Input: Add DaVinci DM365 Keypad support
Date: Thu, 17 Sep 2009 13:27:16 -0600	[thread overview]
Message-ID: <4AB28D94.2090401@ridgerun.com> (raw)
In-Reply-To: <4AB2795D.2060900@ru.mvista.com>

Sergei,

Thanks for your response.

I have another question: When should I use dev_err and dev_dbg in a probe 
function, for reporting the errors (-ENOMEM, -ENODEV, -ENOMEM, etc)?

Thanks,

Miguel Aguilar
Sergei Shtylyov wrote:
> Hello.
> 
> Miguel Aguilar wrote:
> 
>> David,
> 
>    Though I'm not David, I'll reply... :-)
> 
>> What are the proper error codes when platform_get_resource,
> 
>    -ENODEV.
> 
>> request_mem_region
> 
>    -EBUSY.
> 
>> and ioremap functions fail?.
> 
>    -ENOMEM.
> 
> WBR, Sergei




  reply	other threads:[~2009-09-17 19:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14 18:12 [PATCH v2 1/2] Input: Add DaVinci DM365 Keypad support miguel.aguilar
2009-09-14 18:45 ` David Brownell
2009-09-17 17:49   ` Miguel Aguilar
2009-09-17 18:01     ` Sergei Shtylyov
2009-09-17 19:27       ` Miguel Aguilar [this message]
2009-09-17 19:48         ` David Brownell

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=4AB28D94.2090401@ridgerun.com \
    --to=miguel.aguilar@ridgerun.com \
    --cc=clark.becker@ridgerun.com \
    --cc=david-b@pacbell.net \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=linux-input@vger.kernel.org \
    --cc=santiago.nunez@ridgerun.com \
    --cc=sshtylyov@ru.mvista.com \
    --cc=todd.fischer@ridgerun.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 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.