diff --git a/drivers/char/drm/mga_dma.c b/drivers/char/drm/mga_dma.c index 04998b741cad..9d95f6078764 100644 --- a/drivers/char/drm/mga_dma.c +++ b/drivers/char/drm/mga_dma.c @@ -998,7 +998,7 @@ static int mga_do_cleanup_dma(struct drm_device *dev, int full_cleanup) } } - return 0; + return err; } int mga_dma_init(struct drm_device *dev, void *data,