From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 10:02:48 +0000 (-0300) Subject: [media] media/rc: fix oops on unloading module rc-core X-Git-Tag: v3.9-rc1~93^2~370 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4bb6f353e287f51a52a347670fd60938a566c25;p=pandora-kernel.git [media] media/rc: fix oops on unloading module rc-core During modiles initialization rc-core schedules work which calls request_module() several times to load ir-*-decoder modules, but it does not wait or cancel this work on module unloading. rc-core should use request_module_nowait() instead, because it anyway cannot load modules synchronously or cancel/wait pending work on unloading, because this leads to deadlock on modules_mutex between several "modprobe" processes. Signed-off-by: Konstantin Khlebnikov Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed