linux-stable/drivers/gpu/drm/mgag200
Archit Taneja 728f86607d drm/mgag200: Fix driver_load error handling
mgag200_driver_load's error path just calls the drm driver's
driver_unload op. It isn't safe to call this because it doesn't handle
things well if driver_load fails somewhere mid way.

Replace the call to mgag200_driver_unload with a more finegrained
error handling path.

Link: http://lkml.kernel.org/r/55F6E68D.8070800@codeaurora.org
Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-09-24 08:10:44 +10:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_cursor.c drm/mga200g: Hold a proper reference for cursor_set 2015-08-10 13:37:20 +02:00
mgag200_drv.c drm/mgag200: Add support for a new G200eW3 chipset 2015-08-24 13:46:52 +10:00
mgag200_drv.h drm/mgag200: Add support for a new G200eW3 chipset 2015-08-24 13:46:52 +10:00
mgag200_fb.c drm/mgag200: Fix error handling paths in fbdev driver 2015-09-24 08:10:41 +10:00
mgag200_i2c.c drm/mgag200: Add support for a new G200eW3 chipset 2015-08-24 13:46:52 +10:00
mgag200_main.c drm/mgag200: Fix driver_load error handling 2015-09-24 08:10:44 +10:00
mgag200_mode.c drm/mgag200: Add support for a new rev of G200e 2015-08-24 13:47:16 +10:00
mgag200_reg.h drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_ttm.c drm/mgag200: remove unneeded variable 2015-07-17 08:50:45 +02:00