projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1ac3b
)
drm/nv50/gpio: exclude sense value from mask when changing registers
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 18 Mar 2014 14:35:44 +0000
(
00:35
+1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 26 Mar 2014 04:08:17 +0000
(14:08 +1000)
Shouldn't effect anything, was just momentarily confusing while looking
at traces.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/gpio/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/gpio/nv50.c
b/drivers/gpu/drm/nouveau/core/subdev/gpio/nv50.c
index c4c1d415e7feb871329c275e894558f44c60aff8..904b67fe1e1493272c1e61a68ba1a0d25fdf6ca5 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/gpio/nv50.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/gpio/nv50.c
@@
-79,7
+79,7
@@
nv50_gpio_drive(struct nouveau_gpio *gpio, int line, int dir, int out)
if (nv50_gpio_location(line, ®, &shift))
return -EINVAL;
- nv_mask(gpio, reg,
7
<< shift, (((dir ^ 1) << 1) | out) << shift);
+ nv_mask(gpio, reg,
3
<< shift, (((dir ^ 1) << 1) | out) << shift);
return 0;
}