drm/radeon/kms: release agp on error.
authorDave Airlie <airlied@redhat.com>
Mon, 1 Feb 2010 01:22:10 +0000 (11:22 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Feb 2010 01:22:10 +0000 (11:22 +1000)
commit4b866288be6ffaefaad9cec212cb09e3258a68ee
tree81317f5c119f6429324118bb5db9a658d429e224
parent2dea2e29b9fad48c759aa406b5ea426bff4339af
drm/radeon/kms: release agp on error.

if we get an error, release the AGP if we've acquired it already.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_agp.c