drivers: can: sam: select CACHE_MANAGEMENT for SAM M_CAN

A regression was introduced in ef804d8408
when the M_CAN driver was swapped to use the generic dcache API, but
cache management was not enabled on SAM devices.

Enable cache management on SAM devices when CAN_SAM is selected.

Signed-off-by: Perry Hung <perry@genrad.com>
This commit is contained in:
Perry Hung 2022-11-08 11:28:51 -08:00 committed by Marti Bolivar
commit 9b5bc03f86

View file

@ -7,3 +7,4 @@ config CAN_SAM
default y default y
depends on DT_HAS_ATMEL_SAM_CAN_ENABLED depends on DT_HAS_ATMEL_SAM_CAN_ENABLED
select CAN_MCAN select CAN_MCAN
select CACHE_MANAGEMENT