[media] s5p-tv: Fix potential NULL pointer dereference error
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 22 Sep 2012 06:39:19 +0000 (03:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 2 Oct 2012 17:02:03 +0000 (14:02 -0300)
commit970e85f87067638262a5c165aff404e6190817f8
tree50c2aa3c1682e79db6d7ff4f192383f76de1ec9e
parent94c15b5e6755711af6dd81bde0f8396e24b75dc2
[media] s5p-tv: Fix potential NULL pointer dereference error

When mdev is NULL, the error print statement will try to dereference
the NULL pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-tv/mixer_drv.c