summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-08-04 06:01:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 22:13:18 +0200
commit65710cb6ea315b3ef76a8a3da7be99afcf58d2bb (patch)
tree40043563aca5fa81fbc1f04f16ea887b6b372212 /sound
parentdebugfs: make __create_file static (diff)
downloadlinux-65710cb6ea315b3ef76a8a3da7be99afcf58d2bb.tar.xz
linux-65710cb6ea315b3ef76a8a3da7be99afcf58d2bb.zip
firmware loader: simplify pages ownership transfer
This patch doesn't transfer ownership of pages' buffer to the instance of firmware until the firmware loading is completed, which will simplify firmware_loading_store a lot, so help to introduce the following cache_firmware and uncache_firmware mechanism during system suspend-resume cycle. In fact, this patch fixes one bug: if writing data into firmware loader device is bypassed between writting 1 and 0 to 'loading', OOPS will be triggered without the patch. Also handle the vmap failure case, and add some comments to make code more readable. Signed-off-by: Ming Lei <ming.lei@canonical.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions