summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-hw-pxa2xx_gpio.c
blob: 68dc9c54ace485a787f6c1b62b9a16cc287718f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Index: qemu/hw/pxa2xx_gpio.c
@@ -152,6 +152,9 @@
     case GPDR:		/* GPIO Pin-Direction registers */
         return s->dir[bank];
 
+    case GPSR:		/* GPIO Pin-Output Set registers */
+        return s->olevel[bank];
+
     case GRER:		/* GPIO Rising-Edge Detect Enable registers */
         return s->rising[bank];