Re: [PATCH] v4l: rcar-fcp: Read IP version register at probe time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent,

On Sun, Jun 9, 2019 at 12:09 PM Laurent Pinchart
<laurent.pinchart@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Jun 09, 2019 at 10:06:19AM +0200, Geert Uytterhoeven wrote:
> > On Sat, Jun 8, 2019 at 2:55 PM Laurent Pinchart wrote:
> > > This helps identifying the IP core version, for debugging purpose only
> > > for now.
> > >
> > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
> >
> > Thanks for your patch!
> >
> > > --- a/drivers/media/platform/rcar-fcp.c
> > > +++ b/drivers/media/platform/rcar-fcp.c

> > > +       if (IS_ERR(fcp->iomem))
> > > +               return PTR_ERR(fcp->iomem);
> > > +
> > > +       pm_runtime_get_sync(&pdev->dev);
> > > +       version = rcar_fcp_read(fcp, FCP_VCR);
> >
> > Please note that rcar_fcp_read() does not exist in upstream nor next,
> > and linux-renesas-soc hasn't seen the patch that added it.
>
> That's why it was added in this patch :-)

Bummer... Do you plan to have other users?
If not, I'd just open-code this single-line function.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux