commit | ef4459341a600703e99a08584350809a96b62371 | [log] [tgz] |
---|---|---|
author | Andy Gross <andy.gross@ti.com> | Thu May 24 11:43:32 2012 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 11 08:43:19 2012 -0700 |
tree | 4a4bf3cf3693f963641fb524b6439fffef9348cf | |
parent | 395350370010ab9693085ede5a1c08fb2faeb5a2 [diff] |
staging: omapdrm: Fix error paths during dmm init Failures during the dmm probe can cause the kernel to crash. Moved the spinlock to a global and moved list initializations immediately after the allocation of the dmm private structure. Signed-off-by: Andy Gross <andy.gross@ti.com> Reviewed-by: Rob Clark <rob.clark@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>