[PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-12 Thread Paul Menzel
Dear Christopher, Am Mittwoch, den 05.06.2013, 11:29 -0400 schrieb Christopher Harvey: > Running mgag200_driver_unload when the driver init fails early on > causes functions like drm_mode_config_cleanup to be called. The > problem is, drm_mode_config_cleanup crashes because the corresponding > in

Re: [PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-12 Thread Paul Menzel
Dear Christopher, Am Mittwoch, den 05.06.2013, 11:29 -0400 schrieb Christopher Harvey: > Running mgag200_driver_unload when the driver init fails early on > causes functions like drm_mode_config_cleanup to be called. The > problem is, drm_mode_config_cleanup crashes because the corresponding > in

[PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-12 Thread Christopher Harvey
On Wed, Jun 05 2013, Christopher Harvey wrote: > Running mgag200_driver_unload when the driver init fails early on > causes functions like drm_mode_config_cleanup to be called. The > problem is, drm_mode_config_cleanup crashes because the corresponding > init hasn't happend yet. There really isn't

Re: [PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-12 Thread Christopher Harvey
On Wed, Jun 05 2013, Christopher Harvey wrote: > Running mgag200_driver_unload when the driver init fails early on > causes functions like drm_mode_config_cleanup to be called. The > problem is, drm_mode_config_cleanup crashes because the corresponding > init hasn't happend yet. There really isn't

[PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-05 Thread Christopher Harvey
Running mgag200_driver_unload when the driver init fails early on causes functions like drm_mode_config_cleanup to be called. The problem is, drm_mode_config_cleanup crashes because the corresponding init hasn't happend yet. There really isn't anything to cleanup after mgag200_device_init, so we ca

[PATCH] drm/mgag200: Don't do full cleanup if mgag200_device_init fails

2013-06-05 Thread Christopher Harvey
Running mgag200_driver_unload when the driver init fails early on causes functions like drm_mode_config_cleanup to be called. The problem is, drm_mode_config_cleanup crashes because the corresponding init hasn't happend yet. There really isn't anything to cleanup after mgag200_device_init, so we ca