diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-19 12:49:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-19 12:49:39 -0300 |
commit | ded9757de77adb99448ab46d12602aad60d3a737 (patch) | |
tree | 3f13329d0f1a4308018023b0257e198f049d1793 /linux/drivers/media/video/videocodec.c | |
parent | e0fd938d1ef7a331ffb7abc324c60be339de960b (diff) | |
download | mediapointer-dvb-s2-ded9757de77adb99448ab46d12602aad60d3a737.tar.gz mediapointer-dvb-s2-ded9757de77adb99448ab46d12602aad60d3a737.tar.bz2 |
[PATCH] release_firmware() fixes
From: Magnus Damm <magnus@valinux.co.jp>
Use release_firmware() to free requested resources.
According to Documentation/firmware_class/README the request_firmware()
call should be followed by a release_firmware(). Some drivers do not
however free the firmware previously allocated with request_firmware().
This patch tries to fix this by making sure that release_firmware() is used
as expected.
kernel-sync: backport from kernel to v4l/dvb tree
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/videocodec.c')
0 files changed, 0 insertions, 0 deletions