can: c_can: don't indicate triple sampling support for D_CAN
authorRichard Schütz <rschuetz@uni-koblenz.de>
Sun, 29 Oct 2017 12:03:22 +0000 (13:03 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 10 Nov 2017 08:15:28 +0000 (09:15 +0100)
commitfb5f0b3ef69b95e665e4bbe8a3de7201f09f1071
tree1ff689df4f9cf44d86d309fe49df1f16c5a4f4d1
parent1cb483a5cc84b497afb51a6c5dfb5a38a0b67086
can: c_can: don't indicate triple sampling support for D_CAN

The D_CAN controller doesn't provide a triple sampling mode, so don't set
the CAN_CTRLMODE_3_SAMPLES flag in ctrlmode_supported. Currently enabling
triple sampling is a no-op.

Signed-off-by: Richard Schütz <rschuetz@uni-koblenz.de>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.6
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_pci.c
drivers/net/can/c_can/c_can_platform.c