commit | 88b404c435ffb6c103faf85cc1b41077dcd03bf9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jan 30 03:03:43 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Feb 08 14:46:56 2013 -0200 |
tree | c055dd6d58c0168a057b6ae09e6a4e9af72806ae | |
parent | de03277d6ae26d09b3af8617f291c4bb3db7d2eb [diff] |
[media] tm6000: check an allocation for failure This allocation had no error checking. It didn't need to be under the mutex so I moved it out form there. That makes the error handling easier and is a potential speed up. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>