[media] s5p-mfc: Correct check of vb2_dma_contig_init_ctx return value
authorKamil Debski <k.debski@samsung.com>
Thu, 3 Jan 2013 10:06:03 +0000 (07:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:58:24 +0000 (09:58 -0200)
commitef89fff874758c0f08501bdc2932b7e77421cfc6
tree893197969ec65aa1ce2907b225d74bd448fecea7
parent2e731e443fcc8e4553201ad0573c1d5571e906ac
[media] s5p-mfc: Correct check of vb2_dma_contig_init_ctx return value

vb2_dma_contig_init_ctx returns an error if failed, NULL check is not necessary.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c