]> git.ipfire.org Git - people/ms/linux.git/commit
hgafb: resource management fix
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Fri, 13 Jun 2008 02:40:28 +0000 (02:40 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 16 Jun 2008 20:20:02 +0000 (13:20 -0700)
commiteea341fa413396a3857386051f4a1f6e3a1d81bc
treea909c5633331adc31a7ea4f1a80ce15a0d9c366d
parent5f500e6d8fdce3de036859ee45c92ce8dd5b5b04
hgafb: resource management fix

commit 630c270183133ac25bef8c8d726ac448df9b169a upstream
Date: Thu, 12 Jun 2008 15:21:29 -0700
Subject: 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/hgafb.c