diff options
author | John Klug <john.klug@multitech.com> | 2020-09-11 18:05:49 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-09-11 18:05:49 -0500 |
commit | 3549aa643f439231c38733a9db2ed437d72f9cfb (patch) | |
tree | 38d60a34fd666ece75bf906805e1c76d0eddcdd3 | |
parent | 9953ef6e5374c95352e6a65f2df2eac5567594cf (diff) | |
download | meta-multitech-atmel-3549aa643f439231c38733a9db2ed437d72f9cfb.tar.gz meta-multitech-atmel-3549aa643f439231c38733a9db2ed437d72f9cfb.tar.bz2 meta-multitech-atmel-3549aa643f439231c38733a9db2ed437d72f9cfb.zip |
Turn off i2c-at91 debug
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf | 3 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-at91_4.9.87.bb | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf b/recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf new file mode 100644 index 0000000..a5d7ff4 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf @@ -0,0 +1,3 @@ +# For some reason, dynamic debug is turned on for module i2c_at91. +# Turn it off. +install i2c-at91 modprobe --ignore-install i2c_at91 ; echo 'module i2c_at91 -p' >/sys/kernel/debug/dynamic_debug/control diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb index 24f1812..ecac868 100644 --- a/recipes-kernel/linux/linux-at91_4.9.87.bb +++ b/recipes-kernel/linux/linux-at91_4.9.87.bb @@ -50,6 +50,7 @@ COMMON_PATCHES = " \ file://0001-linux-4.9-quectel_qmi_wwan_support.patch \ file://0002-linux-4.9-telit_print_qmi_wwan.patch \ file://make-kernel-reproducible.patch \ + file://i2c-at91.conf \ " @@ -158,6 +159,9 @@ do_install_append() { cp -a ${STAGING_KERNEL_DIR}/include/dt-bindings ${D}${includedir}/linux/ install -d -m 0755 ${STAGING_DIR_TARGET}/${includedir}/linux cp -a ${STAGING_KERNEL_DIR}/include/dt-bindings ${STAGING_DIR_TARGET}/${includedir}/linux + install -d -m 0755 ${D}${sysconfdir}/modprobe.d + install -m 0644 ${WORKDIR}/i2c-at91.conf ${D}${sysconfdir}/modprobe.d } -FILES_kernel-dt-bindings-dev = "/usr/include/linux/dt-bindings"
\ No newline at end of file +FILES_kernel-dt-bindings-dev = "/usr/include/linux/dt-bindings" +FILES_kernel-module-i2c-at91 += "${sysconfdir}/modprobe.d"
\ No newline at end of file |