diff options
author | Leif Delgass <ldelgass@users.sourceforge.net> | 2002-05-01 21:12:35 +0000 |
---|---|---|
committer | Leif Delgass <ldelgass@users.sourceforge.net> | 2002-05-01 21:12:35 +0000 |
commit | 95417f81a94d886ef04f31503ab1abf1478d4462 (patch) | |
tree | 3beefda0c923c903f6eeac7615212f0919b6920a | |
parent | 7379023cec1b09acfd1b756d9f382bd35171c0f5 (diff) |
Fix typo in last commit (cleanup fix)
-rw-r--r-- | linux/mach64_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/mach64_dma.c b/linux/mach64_dma.c index adadb448..c06be286 100644 --- a/linux/mach64_dma.c +++ b/linux/mach64_dma.c @@ -501,12 +501,12 @@ static int mach64_do_dma_init( drm_device_t *dev, drm_mach64_init_t *init ) int mach64_do_cleanup_dma( drm_device_t *dev ) { DRM_DEBUG( "%s\n", __FUNCTION__ ); - + if ( dev->dev_private ) { drm_mach64_private_t *dev_priv = dev->dev_private; - + if ( (dev_priv->pool != NULL) && - (dev_priv->cpu_addr_table != NULL) && !dev_priv->table_handle ) { + (dev_priv->cpu_addr_table != NULL) && dev_priv->table_handle ) { DRM_INFO( "freeing descriptor table from pci pool\n" ); pci_pool_free( dev_priv->pool, dev_priv->cpu_addr_table, dev_priv->table_handle ); |