can: sja1000: Add support for listen-only mode and one-shot mode
can: sja1000: Add support for listen-only mode and one-shot mode

One-shot mode uses the TCS bit of the status register to discern
whether a transmission was successful or not. On a failed
transmission, the frame is not echoed back.

Signed-off-by: Andreas Larsson <b15c342f1de186996bcca5e1a23cd684d2fadb32@gaisler.com>
Acked-by: Wolfgang Grandegger <5aa1976eca1fee4e35c7b71ec8e8a0ebad9da3d1@grandegger.com>
Acked-by: Oliver Hartkopp <06a38fb2ed1a2d0a17f4f06761ac2e5ace5a31ab@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <4a0ea1158d3cc63151119c05b1bff00c0bdbf421@pengutronix.de>

TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs