From: Kevin Hilman Date: Thu, 18 Oct 2018 14:04:16 +0000 (+0000) Subject: meta-agl-bsp: kernel: fix can-bus.cfg X-Git-Tag: 6.99.1~30 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6685e02323e18ca11f10da0ac7db19239c28a14f;p=AGL%2Fmeta-agl.git meta-agl-bsp: kernel: fix can-bus.cfg This config fragment for CAN bus had both an option for enabling as a module: CONFIG_CAN_C_CAN=m and for disabling: # CONFIG_CAN_C_CAN is not set Since the disable came last, disable wins. This caused the C_CAN driver and the C_CAN_PLATFORM driver (used by the TI dra7-evm) to be disabled in the kernel. To fix, remove the option to disable. Change-Id: I5be0cee161318cdfe7deb9c5e9c9f15d79cda7ac Fixes: d870883e7b29d212dc3e2a0e6158d837d4356c6a Signed-off-by: Kevin Hilman --- diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg index 2070177be..5a278a206 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg +++ b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg @@ -19,7 +19,6 @@ CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y # CONFIG_CAN_LEDS is not set # CONFIG_CAN_SJA1000 is not set -# CONFIG_CAN_C_CAN is not set # CONFIG_CAN_M_CAN is not set # CONFIG_CAN_CC770 is not set