projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc6a4e
)
drm/nv10/gpio: fix thinko in mask for gpio lines 2-9
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 27 Apr 2012 05:11:33 +0000
(15:11 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 30 Apr 2012 05:55:54 +0000
(15:55 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv10_gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv10_gpio.c
b/drivers/gpu/drm/nouveau/nv10_gpio.c
index 550ad3fcf0afa691153f293f7e36f64e181105f7..9d79180069df2cdb93b6e8b7ea45cb0508fed38c 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv10_gpio.c
+++ b/
drivers/gpu/drm/nouveau/nv10_gpio.c
@@
-65,7
+65,7
@@
nv10_gpio_drive(struct drm_device *dev, int line, int dir, int out)
if (line < 10) {
line = (line - 2) * 4;
reg = NV_PCRTC_GPIO_EXT;
- mask = 0x00000003
<< ((line - 2) * 4)
;
+ mask = 0x00000003;
data = (dir << 1) | out;
} else
if (line < 14) {