[media] m2m-deinterlace: use correct check for kzalloc failure
authorSasha Levin <sasha.levin@oracle.com>
Thu, 20 Dec 2012 18:11:18 +0000 (15:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 21:08:12 +0000 (19:08 -0200)
commit9a3323aef4e32585a76ace5f53973404e7e5afee
tree7aa841aa3ee4db8d5c0e6d9dd5311de4b74c4eae
parentc84401c200423e4855bc990d8460cc0c3a2bb664
[media] m2m-deinterlace: use correct check for kzalloc failure

There is no point in PTR_ERR()ing a NULL pointer, use a real error
instead.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/m2m-deinterlace.c