From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison
Date: Thu, 30 Mar 2017 12:44:42 +0300 [thread overview]
Message-ID: <1490867082.708.58.camel@linux.intel.com> (raw)
In-Reply-To: <20170330072345.GB12758@gmail.com>
On Thu, 2017-03-30 at 09:23 +0200, Ingo Molnar wrote:
> * Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
>
> > Intel Edison has Wi-Fi + BT module attached and, since it's an SFI-
> > enumerated
> > platform, needs a platform data. Here we add bits to enable
> > bluetooth device.
> > +
> > +static struct gpiod_lookup_table tng_bt_sfi_gpio_table = {
> > + .dev_id = "hci_bcm",
> > + .table = {
> > + GPIO_LOOKUP("0000:00:0c.0", -1, "device-wakeup",
> > GPIO_ACTIVE_HIGH),
> > + GPIO_LOOKUP("0000:00:0c.0", -1, "shutdown",
> > GPIO_ACTIVE_HIGH),
> > + GPIO_LOOKUP("0000:00:0c.0", -1, "host-wakeup",
> > GPIO_ACTIVE_HIGH),
>
> Minor nit: just out of general principle (because the rest of the code
> looks so
> nice) I'd properly tabulate the last column as well - something like:
>
> GPIO_LOOKUP("0000:00:0c.0", -1, "device-wakeup",
> GPIO_ACTIVE_HIGH),
> GPIO_LOOKUP("0000:00:0c.0", -1,
> "shutdown", GPIO_ACTIVE_HIGH),
> GPIO_LOOKUP("0000:00:0c.0", -1, "host-
> wakeup", GPIO_ACTIVE_HIGH),
>
> Formatted that way the reviewer's eye can skip over those values in
> 100
> milliseconds, determining that all 3 values are GPIO_ACTIVE_HIGH.
Thanks for a hint.
Should I resend it?
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
next prev parent reply other threads:[~2017-03-30 9:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 14:18 [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Andy Shevchenko
2017-03-30 7:23 ` Ingo Molnar
2017-03-30 9:44 ` Andy Shevchenko [this message]
2017-03-30 9:54 ` Ingo Molnar
2017-03-30 10:34 ` Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2017-03-30 10:04 Andy Shevchenko
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=1490867082.708.58.camel@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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