]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
firmware loader: simplify holding module for request_firmware
authorMing Lei <ming.lei@canonical.com>
Thu, 6 Jun 2013 12:01:48 +0000 (20:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:41:57 +0000 (12:41 -0700)
commitd6c8aa3906d5d0e4012b9811d6e0928dc7b4cbaf
tree3f069378cd5f1b86ebc9c7cb4df0c48842a07c6b
parent93232e46b209821cb66faf40def928e60615f86b
firmware loader: simplify holding module for request_firmware

module reference doesn't cover direct loading path, so this patch
simply holds the module in the whole life time of request_firmware()
to fix the problem.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c