]> git.baikalelectronics.ru Git - kernel.git/commit
hgafb: resource management fix
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 12 Jun 2008 22:21:29 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:40 +0000 (18:05 -0700)
commit9b2db27ea95a2c07dfcbd5fb7f0bf5a753147f5c
treee00d128c2acab7571b43ef013f26a3bff86a57e2
parent61ef3b4af3cd4e9c298626f7115da4cbb8f73c46
hgafb: resource management fix

Release ports which are requested during detection which are not freed if
there is no hga card.  Otherwise there is a crash during cat /proc/ioports
command.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/hgafb.c