Led control BUG: scheduling while atomic:

Hi,
Led control has some issues with Lacie NS vs2 lite. Led on/off is inverted and dmesg get these:
What behaviour red led should be? Currently red is off and blue sometimes blinks.
Led control has some issues with Lacie NS vs2 lite. Led on/off is inverted and dmesg get these:
- Code: Select all
[ 1842.155422] note: led[2469] exited with preempt_count 1
[ 1845.695476] BUG: scheduling while atomic: led/2504/0x00000002
[ 1845.701212] Modules linked in: iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi usblp usb_storage ehci_orion ehci_hcd
[ 1845.712190] Preemption disabled at:[<c050d31c>] ns2l_led_set_mode+0x20/0xa8
[ 1845.719147]
[ 1845.720642] CPU: 0 PID: 2504 Comm: led Tainted: G W 4.6.6 #7
[ 1845.727400] Hardware name: LaCie Network Space Lite v2
[ 1845.732543] [<c0019a98>] (unwind_backtrace) from [<c0016814>] (show_stack+0x10/0x14)
[ 1845.740278] [<c0016814>] (show_stack) from [<c003ea60>] (__schedule_bug+0x90/0xb8)
[ 1845.747832] [<c003ea60>] (__schedule_bug) from [<c06c0a80>] (__schedule+0x5c/0x438)
[ 1845.755466] [<c06c0a80>] (__schedule) from [<c06c0f08>] (schedule+0xac/0xc4)
[ 1845.762500] [<c06c0f08>] (schedule) from [<c0016448>] (do_work_pending+0x24/0xc4)
[ 1845.769972] [<c0016448>] (do_work_pending) from [<c0013708>] (slow_work_pending+0xc/0x20)
[ 1853.728130] BUG: scheduling while atomic: led/2606/0x00000002
[ 1853.733864] Modules linked in: iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi usblp usb_storage ehci_orion ehci_hcd
[ 1853.744843] Preemption disabled at:[<c050d31c>] ns2l_led_set_mode+0x20/0xa8
[ 1853.751805]
[ 1853.753302] CPU: 0 PID: 2606 Comm: led Tainted: G W 4.6.6 #7
[ 1853.760060] Hardware name: LaCie Network Space Lite v2
[ 1853.765204] [<c0019a98>] (unwind_backtrace) from [<c0016814>] (show_stack+0x10/0x14)
[ 1853.772938] [<c0016814>] (show_stack) from [<c003ea60>] (__schedule_bug+0x90/0xb8)
[ 1853.780492] [<c003ea60>] (__schedule_bug) from [<c06c0a80>] (__schedule+0x5c/0x438)
[ 1853.788125] [<c06c0a80>] (__schedule) from [<c06c0f08>] (schedule+0xac/0xc4)
[ 1853.795158] [<c06c0f08>] (schedule) from [<c0016448>] (do_work_pending+0x24/0xc4)
[ 1853.802623] [<c0016448>] (do_work_pending) from [<c0013708>] (slow_work_pending+0xc/0x20)
[ 1853.892124] note: led[2609] exited with preempt_count 1
[ 1860.722214] note: led[2645] exited with preempt_count 1
What behaviour red led should be? Currently red is off and blue sometimes blinks.