[media] s5p-cec: Fix memory allocation failure check
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 31 Aug 2016 13:45:04 +0000 (10:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 13:12:50 +0000 (10:12 -0300)
commit6e7122a3c83ad468037e7f22f324feccb6252bf4
tree0334d3033330fc889144229e79cf5fbf987924b5
parent57b978ada073106d8fc12614f504cb92366a7ce1
[media] s5p-cec: Fix memory allocation failure check

It is likely that checking the result of the memory allocation just above
is expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/s5p-cec/s5p_cec.c