]> git.baikalelectronics.ru Git - kernel.git/commit
staging: et131x: cancel_work when module gets unloaded
authorDevendra Naga <devendra.aaru@gmail.com>
Wed, 10 Apr 2013 07:04:00 +0000 (12:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 20:07:05 +0000 (13:07 -0700)
commitba3b23d394d5929a80a6619ff22ee751de6c9965
treeaf4c3aa1f9710527428d30e435cf77fc6f89abb4
parent66be1c8eea837b6785ff6ec4fe03081ac0e6026e
staging: et131x: cancel_work when module gets unloaded

The work item has been added to the queue using INIT_WORK and scheduled
in interrupt handler. when module unloads that work item has not been
removed from the queue. remove and stop its further execution when the
module unloaded

Cc: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c