commit | 1e0625facab2e871472472b7df87d8fbe6caf75a | [log] [tgz] |
---|---|---|
author | Oliver Hartkopp <socketcan@hartkopp.net> | Wed Jun 13 20:48:21 2012 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Jun 19 21:40:14 2012 +0200 |
tree | 831d0adba939e1d19e33d59b73508b5d306ed412 | |
parent | e2d265d3b587f5f6f8febc0222aace93302ff0be [diff] |
candev: add/update helpers for CAN FD - update sanity checks - add DLC to length conversion helpers - can_dlc2len() - get data length from can_dlc with sanitized can_dlc - can_len2dlc() - map the sanitized data length to an appropriate DLC Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>