]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cbe91d40d801ebba0387fbaa17f881ac6d487d7
tree8631d0f0d32a72e7f3cc4a42dad82876189bcda0
parent48b7cd948df82e001a405c0daac00f48361d548a
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