On Wed, Aug 23, 2017 at 1:26 AM, Niklas Söderlund
<[email protected]> wrote:
> Add the SoC specific information for Renesas r8a7795.
>
> Signed-off-by: Niklas Söderlund <[email protected]>
> --- a/drivers/media/platform/rcar-vin/rcar-core.c
> +++ b/drivers/media/platform/rcar-vin/rcar-core.c
> @@ -1038,6 +1176,13 @@ static int rcar_vin_probe(struct platform_device *pdev)
> vin->dev = &pdev->dev;
> vin->info = match->data;
>
> + /*
> + * Special care is needed on r8a7795 ES1.x since it
> + * uses different routing then r8a7795 ES2.0.
than
> + */
> + if (vin->info == &rcar_info_r8a7795 && soc_device_match(r8a7795es1))
> + vin->info = &rcar_info_r8a7795es1;
> +
> mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> if (mem == NULL)
> return -EINVAL;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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