]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fbdev: ssd1307fb: fix logical error
authorThomas Niederprüm <niederp@physik.uni-kl.de>
Mon, 25 May 2015 19:29:21 +0000 (21:29 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 27 May 2015 09:54:48 +0000 (12:54 +0300)
commit5e47932be81e860d317498363c13153e7df37625
tree1e3266787dbfc19cd7c60ef82c8f1a1762a9edfe
parentee62eddb1a80e86ccbbbff5a8ecf4c2a2ccf95c9
fbdev: ssd1307fb: fix logical error

The logical not needs to be done after the bit masking.

Fixes: a3998fe03e87 ("fbdev: ssd1307fb: Unify init code and obtain
hw specific bits from DT")

Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/ssd1307fb.c