]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] release_firmware() fixes
authorMagnus Damm <magnus@valinux.co.jp>
Mon, 10 Jul 2006 11:44:09 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:15 +0000 (13:24 -0700)
commit73ca66b97b73257a7d832d502c36fc19fe847809
treed39f50b1931d67c51e56f891b785be1143599177
parent454d6fbc48374be8f53b9bafaa86530cf8eb3bc1
[PATCH] release_firmware() fixes

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.

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>
drivers/bluetooth/bcm203x.c
drivers/media/dvb/frontends/nxt200x.c
drivers/media/dvb/frontends/or51211.c
drivers/media/dvb/frontends/sp8870.c
drivers/media/dvb/frontends/sp887x.c
drivers/media/video/cx88/cx88-blackbird.c
drivers/net/wireless/spectrum_cs.c