diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2012-06-13 22:48:21 +0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-06-19 23:40:14 +0400 |
commit | 1e0625facab2e871472472b7df87d8fbe6caf75a (patch) | |
tree | 831d0adba939e1d19e33d59b73508b5d306ed412 /include/sound/cs8427.h | |
parent | e2d265d3b587f5f6f8febc0222aace93302ff0be (diff) | |
download | linux-1e0625facab2e871472472b7df87d8fbe6caf75a.tar.xz |
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>
Diffstat (limited to 'include/sound/cs8427.h')
0 files changed, 0 insertions, 0 deletions