fbdev: sh_mobile_meram: Correct pointer check for YCbCr chroma plane
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 22 Jun 2011 07:46:25 +0000 (07:46 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 24 Jun 2011 07:40:28 +0000 (16:40 +0900)
commit06c8a6a3e40265ff580428bbf51991617477f65b
tree8631d0f0d32a72e7f3cc4a42dad82876189bcda0
parentbccaeafd7c117acee36e90d37c7e05c19be9e7bf
fbdev: sh_mobile_meram: Correct pointer check for YCbCr chroma plane

The check was intended to test if we have a valid pointer to write into,
but it mistakenly checks the pointer contents instead.

Since a valid pointer is mandatory for the chroma data if a YCbCr format
is used, the pointer check has been removed.

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_meram.c