[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110406121601.GA11329@oksana.dev.rtsoft.ru>
Date: Wed, 6 Apr 2011 16:16:01 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Jamie Iles <jamie@...ieiles.com>
Cc: linux-kernel@...r.kernel.org, linux@....linux.org.uk,
tglx@...utronix.de, grant.likely@...retlab.ca, arnd@...db.de,
nico@...xnic.net
Subject: Re: [RFC PATCH 6/7] basic_mmio_gpio: support different
input/output registers
On Wed, Apr 06, 2011 at 12:11:02PM +0100, Jamie Iles wrote:
> Some controllers have separate input and output registers. For these
> controllers, allow a register named "in" to be used for reading the
> value of a GPIO pin.
>
> Signed-off-by: Jamie Iles <jamie@...ieiles.com>
> Cc: Anton Vorontsov <cbouatmailru@...il.com>
> Cc: Grant Likely <grant.likely@...retlab.ca>
> ---
[...]
> @@ -316,6 +340,8 @@ static int __devinit bgpio_probe(struct platform_device *pdev)
> if (!bgc->reg_dat)
> return -ENOMEM;
>
> + spin_lock_init(&bgc->lock);
> +
Hm. This looks like a stray change, now bgpio_probe() calls spin_lock_init()
twice.
Other than that, the patch seems to be OK.
Acked-by: Anton Vorontsov <cbouatmailru@...il.com>
Thanks,
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists