summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf7
1 files changed, 7 insertions, 0 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..55ed237
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/i2c-at91.conf
@@ -0,0 +1,7 @@
+# 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 ; \
+ echo 'module i2c_dev -p' >/sys/kernel/debug/dynamic_debug/control ; \
+ echo 'module i2c_algo_bit -p' >/sys/kernel/debug/dynamic_debug/control ; \
+ echo 'module i2c_core -p' >/sys/kernel/debug/dynamic_debug/control