<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Linux LED trigger bug scheduling on I2C GPIO expander in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-LED-trigger-bug-scheduling-on-I2C-GPIO-expander/m-p/653069#M99966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help me to&amp;nbsp;fix issue "&lt;SPAN&gt;BUG: scheduling while atomic: swapper...&lt;SPAN&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extra Information&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have check function&amp;nbsp;&lt;SPAN&gt;regmap (used to read/write I2C) is using mutex lock.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I also try to use LED hearbeat trigger, the LED is working and I see the same error&amp;nbsp;message all the time on the terminal and demsg.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device Tree&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;card-leds {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "gpio-leds";&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;active-load {&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;label = "active-load";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;gpios = &amp;lt;&amp;amp;lmp92001_gpio 0 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;default-state = "off";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;linux,default-trigger = "oneshot";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;};&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shell operation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@alc-imx6:~# uname -a&lt;BR /&gt;Linux alc-imx6 4.1.15-g12145c5-dirty #2 SMP PREEMPT Mon Feb 20 17:40:17 ICT 2017 armv7l GNU/Linux&lt;/P&gt;&lt;P&gt;root@alc-imx6:~# cd /sys/class/leds/active-load&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# ls&lt;BR /&gt;brightness delay_on invert power subsystem uevent&lt;BR /&gt;delay_off device max_brightness shot trigger&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# cat trigger &lt;BR /&gt;none nand-disk mmc0 mmc1 mmc2 timer &lt;SPAN style="color: #0000ff;"&gt;[oneshot]&lt;/SPAN&gt; heartbeat backlight gpio default-on rfkill0&lt;/P&gt;&lt;P&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 33 &amp;gt; delay_on&lt;/SPAN&gt;&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 33 &amp;gt; delay_off&lt;/SPAN&gt;&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 1 &amp;gt; shot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@alc-imx6:/sys/class/leds/active-load# BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer+0x308/0xe84)&lt;BR /&gt;[&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;806db9c4&amp;gt;] (schedule_timeout+0x110/0x170)&lt;BR /&gt;[&amp;lt;806db9c4&amp;gt;] (schedule_timeout) from [&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete+0x50/0xc8)&lt;BR /&gt;[&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete) from [&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer+0x464/0xe84)&lt;BR /&gt;[&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer+0xa4c/0xe84)&lt;BR /&gt;[&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer+0x308/0xe84)&lt;BR /&gt;[&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;806db9c4&amp;gt;] (schedule_timeout+0x110/0x170)&lt;BR /&gt;[&amp;lt;806db9c4&amp;gt;] (schedule_timeout) from [&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete+0x50/0xc8)&lt;BR /&gt;[&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete) from [&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer+0x464/0xe84)&lt;BR /&gt;[&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer+0xa4c/0xe84)&lt;BR /&gt;[&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;Abhisit Sangjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 04:08:10 GMT</pubDate>
    <dc:creator>abhisit</dc:creator>
    <dc:date>2017-02-21T04:08:10Z</dc:date>
    <item>
      <title>Linux LED trigger bug scheduling on I2C GPIO expander</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-LED-trigger-bug-scheduling-on-I2C-GPIO-expander/m-p/653069#M99966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help me to&amp;nbsp;fix issue "&lt;SPAN&gt;BUG: scheduling while atomic: swapper...&lt;SPAN&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extra Information&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have check function&amp;nbsp;&lt;SPAN&gt;regmap (used to read/write I2C) is using mutex lock.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I also try to use LED hearbeat trigger, the LED is working and I see the same error&amp;nbsp;message all the time on the terminal and demsg.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device Tree&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;card-leds {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "gpio-leds";&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;active-load {&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;label = "active-load";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;gpios = &amp;lt;&amp;amp;lmp92001_gpio 0 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;default-state = "off";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;linux,default-trigger = "oneshot";&lt;BR /&gt; &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;};&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shell operation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@alc-imx6:~# uname -a&lt;BR /&gt;Linux alc-imx6 4.1.15-g12145c5-dirty #2 SMP PREEMPT Mon Feb 20 17:40:17 ICT 2017 armv7l GNU/Linux&lt;/P&gt;&lt;P&gt;root@alc-imx6:~# cd /sys/class/leds/active-load&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# ls&lt;BR /&gt;brightness delay_on invert power subsystem uevent&lt;BR /&gt;delay_off device max_brightness shot trigger&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# cat trigger &lt;BR /&gt;none nand-disk mmc0 mmc1 mmc2 timer &lt;SPAN style="color: #0000ff;"&gt;[oneshot]&lt;/SPAN&gt; heartbeat backlight gpio default-on rfkill0&lt;/P&gt;&lt;P&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 33 &amp;gt; delay_on&lt;/SPAN&gt;&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 33 &amp;gt; delay_off&lt;/SPAN&gt;&lt;BR /&gt;root@alc-imx6:/sys/class/leds/active-load# &lt;SPAN style="color: #0000ff;"&gt;echo 1 &amp;gt; shot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@alc-imx6:/sys/class/leds/active-load# BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer+0x308/0xe84)&lt;BR /&gt;[&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;806db9c4&amp;gt;] (schedule_timeout+0x110/0x170)&lt;BR /&gt;[&amp;lt;806db9c4&amp;gt;] (schedule_timeout) from [&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete+0x50/0xc8)&lt;BR /&gt;[&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete) from [&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer+0x464/0xe84)&lt;BR /&gt;[&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer+0xa4c/0xe84)&lt;BR /&gt;[&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 43b4bb93 0000001a 62fe91d9 0000001a 8bb22e90 00000000 629d88b4 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 00010013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer+0x308/0xe84)&lt;BR /&gt;[&amp;lt;8042f15c&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;806db9c4&amp;gt;] (schedule_timeout+0x110/0x170)&lt;BR /&gt;[&amp;lt;806db9c4&amp;gt;] (schedule_timeout) from [&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete+0x50/0xc8)&lt;BR /&gt;[&amp;lt;8042eddc&amp;gt;] (i2c_imx_trx_complete) from [&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer+0x464/0xe84)&lt;BR /&gt;[&amp;lt;8042f2b8&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;BR /&gt;BUG: scheduling while atomic: swapper/0/0/0x00000102&lt;BR /&gt;Modules linked in:&lt;BR /&gt;Preemption disabled at:[&amp;lt; (null)&amp;gt;] (null)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15-g12145c5-dirty #2&lt;BR /&gt;Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;[&amp;lt;80016390&amp;gt;] (unwind_backtrace) from [&amp;lt;800123d4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;800123d4&amp;gt;] (show_stack) from [&amp;lt;806d6064&amp;gt;] (dump_stack+0x80/0xc0)&lt;BR /&gt;[&amp;lt;806d6064&amp;gt;] (dump_stack) from [&amp;lt;806d3f2c&amp;gt;] (__schedule_bug+0xa8/0xbc)&lt;BR /&gt;[&amp;lt;806d3f2c&amp;gt;] (__schedule_bug) from [&amp;lt;806d91b8&amp;gt;] (__schedule+0x480/0x4f4)&lt;BR /&gt;[&amp;lt;806d91b8&amp;gt;] (__schedule) from [&amp;lt;806d926c&amp;gt;] (schedule+0x40/0x98)&lt;BR /&gt;[&amp;lt;806d926c&amp;gt;] (schedule) from [&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy+0x68/0xf0)&lt;BR /&gt;[&amp;lt;8042eb14&amp;gt;] (i2c_imx_bus_busy) from [&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer+0xa4c/0xe84)&lt;BR /&gt;[&amp;lt;8042f8a0&amp;gt;] (i2c_imx_xfer) from [&amp;lt;8042bb44&amp;gt;] (__i2c_transfer+0x144/0x284)&lt;BR /&gt;[&amp;lt;8042bb44&amp;gt;] (__i2c_transfer) from [&amp;lt;8042bd24&amp;gt;] (i2c_transfer+0xa0/0xd8)&lt;BR /&gt;[&amp;lt;8042bd24&amp;gt;] (i2c_transfer) from [&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer+0x1f8/0x58c)&lt;BR /&gt;[&amp;lt;8042bff0&amp;gt;] (i2c_smbus_xfer) from [&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data+0x40/0x48)&lt;BR /&gt;[&amp;lt;8042c7a4&amp;gt;] (i2c_smbus_write_byte_data) from [&amp;lt;8033813c&amp;gt;] (_regmap_update_bits+0x50/0x74)&lt;BR /&gt;[&amp;lt;8033813c&amp;gt;] (_regmap_update_bits) from [&amp;lt;80338eec&amp;gt;] (regmap_update_bits+0x40/0x5c)&lt;BR /&gt;[&amp;lt;80338eec&amp;gt;] (regmap_update_bits) from [&amp;lt;804ebaec&amp;gt;] (led_timer_function+0xdc/0xe4)&lt;BR /&gt;[&amp;lt;804ebaec&amp;gt;] (led_timer_function) from [&amp;lt;8007b814&amp;gt;] (call_timer_fn+0x24/0x98)&lt;BR /&gt;[&amp;lt;8007b814&amp;gt;] (call_timer_fn) from [&amp;lt;8007be10&amp;gt;] (run_timer_softirq+0x1e4/0x260)&lt;BR /&gt;[&amp;lt;8007be10&amp;gt;] (run_timer_softirq) from [&amp;lt;80039f14&amp;gt;] (__do_softirq+0x108/0x260)&lt;BR /&gt;[&amp;lt;80039f14&amp;gt;] (__do_softirq) from [&amp;lt;8003a30c&amp;gt;] (irq_exit+0xc0/0xfc)&lt;BR /&gt;[&amp;lt;8003a30c&amp;gt;] (irq_exit) from [&amp;lt;8006d720&amp;gt;] (__handle_domain_irq+0x80/0xe8)&lt;BR /&gt;[&amp;lt;8006d720&amp;gt;] (__handle_domain_irq) from [&amp;lt;800093cc&amp;gt;] (gic_handle_irq+0x24/0x5c)&lt;BR /&gt;[&amp;lt;800093cc&amp;gt;] (gic_handle_irq) from [&amp;lt;80012ec0&amp;gt;] (__irq_svc+0x40/0x74)&lt;BR /&gt;Exception stack(0x809bff18 to 0x809bff60)&lt;BR /&gt;ff00: 809bff60 fffffff7&lt;BR /&gt;ff20: 7f4f8593 0000001a 8b868d27 0000001a 8bb22e90 00000000 8aee8db1 0000001a&lt;BR /&gt;ff40: 809b9304 00000001 a6aaaaab 809bff60 00000017 80488ad4 900f0013 ffffffff&lt;BR /&gt;[&amp;lt;80012ec0&amp;gt;] (__irq_svc) from [&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state+0xb8/0x1e0)&lt;BR /&gt;[&amp;lt;80488ad4&amp;gt;] (cpuidle_enter_state) from [&amp;lt;80065440&amp;gt;] (cpu_startup_entry+0x220/0x344)&lt;BR /&gt;[&amp;lt;80065440&amp;gt;] (cpu_startup_entry) from [&amp;lt;80960c50&amp;gt;] (start_kernel+0x3a8/0x3b4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;Abhisit Sangjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 04:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-LED-trigger-bug-scheduling-on-I2C-GPIO-expander/m-p/653069#M99966</guid>
      <dc:creator>abhisit</dc:creator>
      <dc:date>2017-02-21T04:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux LED trigger bug scheduling on I2C GPIO expander</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-LED-trigger-bug-scheduling-on-I2C-GPIO-expander/m-p/653070#M99967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhisit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expanders are supported on sabre ai boards (like sch-27142)&lt;/P&gt;&lt;P&gt;Schematics (5)&lt;BR /&gt;Design files for i.MX 6Quad and i.MX 6DualLite CPU1 Cards &lt;BR /&gt;Design files for Base Board (REV E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fhardware-development-tools%2Fsabre-development-system%2Fsabre-for-automotive-infotainment-based-on-the-i.mx-6-series%3ARDIMX6SABREAUTO%3Ffpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-for-automotive-infotainment-based-on-the-i.mx-6-series:RDIMX6SABREAUTO?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and one can look for MAX7310 entries in imx6qdl-sabreauto.dtsi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 07:26:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-LED-trigger-bug-scheduling-on-I2C-GPIO-expander/m-p/653070#M99967</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-02-23T07:26:39Z</dc:date>
    </item>
  </channel>
</rss>

