]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfe55347f54648e1963232664d97e6a57e1c5fd5
tree1f2ec47d7eec8ec7e5d0f1e5a2e5f28ae7cf909e
parent8c1a641478a1ae54ffdfda5fe443e9745909d556
staging: sm750fb: Fix bugs introduced by early commits

Early commit 50fff3fc7231aae ("staging: sm750fb: change definition of
PANEL_PLANE_TL fields") and 02115d152ed5326 ("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