From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
To: davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
paul.burton-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH] dm9000: Add regulator and reset support to dm9000
Date: Tue, 16 Dec 2014 16:41:29 +0000 [thread overview]
Message-ID: <549060B9.6060506@imgtec.com> (raw)
In-Reply-To: <1418747624-2682-1-git-send-email-Zubair.Kakakhel-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
On 16/12/14 16:33, Zubair Lutfullah Kakakhel wrote:
...
> +
> + power = devm_regulator_get(dev, "vcc");
> + if (IS_ERR(power)) {
> + dev_dbg(dev, "no regulator provided\n");
> + } else if (!regulator_is_enabled(power)) {
> + ret = regulator_enable(power);
> + dev_dgb(dev, "regulator enabled\n");
^dev_dbg
Apologies. This fix wasn't squashed in. I'll resend.
> + }
> +
> + reset_gpio = of_get_named_gpio_flags(dev->of_node, "reset-gpio", 0,
> + &flags);
ZubairLK
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
To: <davem@davemloft.net>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<netdev@vger.kernel.org>, <paul.burton@imgtec.com>
Subject: Re: [PATCH] dm9000: Add regulator and reset support to dm9000
Date: Tue, 16 Dec 2014 16:41:29 +0000 [thread overview]
Message-ID: <549060B9.6060506@imgtec.com> (raw)
In-Reply-To: <1418747624-2682-1-git-send-email-Zubair.Kakakhel@imgtec.com>
On 16/12/14 16:33, Zubair Lutfullah Kakakhel wrote:
...
> +
> + power = devm_regulator_get(dev, "vcc");
> + if (IS_ERR(power)) {
> + dev_dbg(dev, "no regulator provided\n");
> + } else if (!regulator_is_enabled(power)) {
> + ret = regulator_enable(power);
> + dev_dgb(dev, "regulator enabled\n");
^dev_dbg
Apologies. This fix wasn't squashed in. I'll resend.
> + }
> +
> + reset_gpio = of_get_named_gpio_flags(dev->of_node, "reset-gpio", 0,
> + &flags);
ZubairLK
WARNING: multiple messages have this Message-ID (diff)
From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
To: <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<paul.burton-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] dm9000: Add regulator and reset support to dm9000
Date: Tue, 16 Dec 2014 16:41:29 +0000 [thread overview]
Message-ID: <549060B9.6060506@imgtec.com> (raw)
In-Reply-To: <1418747624-2682-1-git-send-email-Zubair.Kakakhel-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
On 16/12/14 16:33, Zubair Lutfullah Kakakhel wrote:
...
> +
> + power = devm_regulator_get(dev, "vcc");
> + if (IS_ERR(power)) {
> + dev_dbg(dev, "no regulator provided\n");
> + } else if (!regulator_is_enabled(power)) {
> + ret = regulator_enable(power);
> + dev_dgb(dev, "regulator enabled\n");
^dev_dbg
Apologies. This fix wasn't squashed in. I'll resend.
> + }
> +
> + reset_gpio = of_get_named_gpio_flags(dev->of_node, "reset-gpio", 0,
> + &flags);
ZubairLK
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-16 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 16:33 [PATCH] dm9000: Add regulator and reset support to dm9000 Zubair Lutfullah Kakakhel
2014-12-16 16:33 ` Zubair Lutfullah Kakakhel
2014-12-16 16:33 ` Zubair Lutfullah Kakakhel
[not found] ` <1418747624-2682-1-git-send-email-Zubair.Kakakhel-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-12-16 16:41 ` Zubair Lutfullah Kakakhel [this message]
2014-12-16 16:41 ` Zubair Lutfullah Kakakhel
2014-12-16 16:41 ` Zubair Lutfullah Kakakhel
2014-12-17 6:19 ` Sascha Hauer
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=549060B9.6060506@imgtec.com \
--to=zubair.kakakhel-1axoqhu6uovqt0dzr+alfa@public.gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=paul.burton-1AXoQHu6uovQT0dZR+AlfA@public.gmane.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.