]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ravb: skip gPTP start/stop on R-Car gen3
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 6 Feb 2016 14:47:22 +0000 (17:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2016 19:53:00 +0000 (14:53 -0500)
commit50bfd83830b89f9273672dcaedf3b765724fd023
treebb165a020bee53b22554b602e553d1e1edbeedb7
parentd0c5f45ae3ede897114dea204fbaaa4dd18fa9cb
ravb: skip gPTP start/stop on R-Car gen3

When adding support for the  R-Car gen3 gPTP active in configuration mode,
some call sites of ravb_ptp_{init|stop}() were missed due to an oversight.
Add  checks for the R-Car gen2 SoCs around these...

Fixes: f5d7837f96e5 ("ravb: ptp: Add CONFIG mode support")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c