[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdV=1GL43ogU3PO6u8x6f2gX-vdgBVON2+t+1QUJtj=Tkg@mail.gmail.com>
Date: Wed, 14 Nov 2018 09:58:00 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: uli@...nd.eu
Cc: Geert Uytterhoeven <geert+renesas@...der.be>,
Philipp Zabel <p.zabel@...gutronix.de>,
Auger Eric <eric.auger@...hat.com>,
Alex Williamson <alex.williamson@...hat.com>,
KVM list <kvm@...r.kernel.org>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] reset: Add reset_control_get_count()
On Wed, Nov 14, 2018 at 7:30 AM Ulrich Hecht <uli@...nd.eu> wrote:
> On November 13, 2018 at 1:47 PM Geert Uytterhoeven <geert+renesas@...der.be> wrote:
> > Currently the reset core has internal support for counting the number of
> > resets for a device described in DT. Generalize this to devices using
> > lookup resets, and export it for public use.
> >
> > This will be used by generic drivers that need to be sure a device is
> > controlled by a single, dedicated reset line (e.g. vfio-platform).
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> > ---
> > See https://lore.kernel.org/lkml/1539003437.11512.20.camel@pengutronix.de/
> > for the rationale to ensure a single, dedicated reset line.
> >
> > drivers/reset/core.c | 41 +++++++++++++++++++++++++++++++++++++++++
> > include/linux/reset.h | 7 +++++++
> > 2 files changed, 48 insertions(+)
> >
> > diff --git a/drivers/reset/core.c b/drivers/reset/core.c
> > index 654e20ff2d5da9d4..c32b755ec373c338 100644
> > --- a/drivers/reset/core.c
> > +++ b/drivers/reset/core.c
> > +/**
> > + * of_reset_control_get_count - Count number of resets available with a device
>
> Should be "reset_control_get_count", without of_ prefix.
Oops, thanks for catching!
Philipp: Do you want a v2 or incremental, or can you fix it up yourself?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists