staging: sm750fb: Fix bugs introduced by early commits
authorHuacai Chen <chenhc@lemote.com>
Thu, 3 Nov 2016 04:48:43 +0000 (12:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:27:40 +0000 (10:27 +0100)
commit33c027ae3cfd8fefb6cccccc5c6b2c07d80891ce
tree1f2ec47d7eec8ec7e5d0f1e5a2e5f28ae7cf909e
parent371c6d972709bdd6254832c1aecf3ebf2fdd11c6
staging: sm750fb: Fix bugs introduced by early commits

Early commit 30ca5cb63c56965 ("staging: sm750fb: change definition of
PANEL_PLANE_TL fields") and 27b047bbe1ee9c0 ("staging: sm750fb: change
definition of PANEL_PLANE_BR fields") modify the register bit fields
definitions. But the modifications are wrong, because the bit mask of
"bit field 10:0" is not 0xeff, but 0x7ff. The wrong definition bugs
makes display very strange.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: stable <stable@vger.kernel.org> # 4.6+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_reg.h