diff options
author | Archit Taneja <architt@codeaurora.org> | 2015-09-17 14:00:54 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-09-24 01:10:41 +0300 |
commit | aec9e12953e777f62acdab069656ebd9bcb6c9ba (patch) | |
tree | e8bc8ca57acae71a7e2e68d083ed07d7d32b9665 /drivers/gpu/drm/mgag200/mgag200_reg.h | |
parent | 69e5d3f893e19613486f300fd6e631810338aa4b (diff) | |
download | linux-aec9e12953e777f62acdab069656ebd9bcb6c9ba.tar.xz |
drm/mgag200: Fix error handling paths in fbdev driver
Set up error handling in mgag200_fbdev_init and mgag200fb_create such that
they release the things they allocate, rather than relying on someone
calling mga_fbdev_destroy.
Based on a patch by Sudip Mukherjee <sudipm.mukherjee@gmail.com>
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>
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_reg.h')
0 files changed, 0 insertions, 0 deletions