commit | e0a2ca737597de5068634df2706f4cf1c1e32d84 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Thu Jul 08 12:24:52 2010 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Mon Aug 02 14:21:37 2010 +1000 |
tree | 4e4cfde94b3bad76009b6b021b90188b92bba30f | |
parent | ab9e1f5966591dc3e811418e96ba04f284c52458 [diff] |
drm/radeon/kms: make sure rio_mem is valid before unmapping it If we were not able to map the io bar in device init, don't attempt to unmap it in device fini. All radeons should have a io bar, so I doubt this would ever trigger, but just to be on the safe side... Pointed out by: Alberto Milone <alberto.milone@canonical.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>