commit | ee42bedc85a6e87791d5c20da6f2d150188cde54 | [log] [tgz] |
---|---|---|
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | Tue Dec 01 11:10:19 2020 +0530 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Dec 10 10:40:10 2020 +0100 |
tree | bc4e934766a3f96d7ba66e094e7ceab64e8414e3 | |
parent | 2c0ac9208135c75b9afec67b2819329ff41a5355 [diff] |
can: mcp251xfd: Add support for internal loopback mode MCP251xFD supports internal loopback mode which can be used to verify CAN functionality in the absence of a real CAN device. Link: https://lore.kernel.org/r/20201201054019.11012-1-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> [mkl: mcp251xfd_get_normal_mode(): move CAN_CTRLMODE_LOOPBACK check to front] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>