Revision bd8733738c5af6114dd15d340b3f8713e9b624c2 authored by Boris Brezillon on 08 February 2015, 18:23:42 UTC, committed by Linus Walleij on 18 March 2015, 01:01:36 UTC
The gpiochip_lock_as_irq call can fail and return an error, while the irq_startup is not expected to fail (returns an unsigned int which is not checked by irq core code). irq_request/release_resources functions have been created to address this problem. Move gpiochip_lock/unlock_as_irq calls into irq_request/release_resources functions to prevent using a gpio as an irq if the gpiochip_lock_as_irq call failed. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 549e783
File | Mode | Size |
---|---|---|
bttv | ||
cx2341x | ||
cx88 | ||
4CCs.txt | -rw-r--r-- | 776 bytes |
API.html | -rw-r--r-- | 733 bytes |
CARDLIST.au0828 | -rw-r--r-- | 567 bytes |
CARDLIST.bttv | -rw-r--r-- | 9.2 KB |
CARDLIST.cx23885 | -rw-r--r-- | 3.4 KB |
CARDLIST.cx88 | -rw-r--r-- | 6.4 KB |
CARDLIST.em28xx | -rw-r--r-- | 6.8 KB |
CARDLIST.ivtv | -rw-r--r-- | 1.1 KB |
CARDLIST.saa7134 | -rw-r--r-- | 11.0 KB |
CARDLIST.saa7164 | -rw-r--r-- | 643 bytes |
CARDLIST.tm6000 | -rw-r--r-- | 1.2 KB |
CARDLIST.tuner | -rw-r--r-- | 3.3 KB |
CARDLIST.usbvision | -rw-r--r-- | 5.0 KB |
Makefile | -rw-r--r-- | 56 bytes |
README.cpia2 | -rw-r--r-- | 5.6 KB |
README.cx88 | -rw-r--r-- | 2.1 KB |
README.davinci-vpbe | -rw-r--r-- | 3.9 KB |
README.ir | -rw-r--r-- | 2.3 KB |
README.ivtv | -rw-r--r-- | 6.1 KB |
README.pvrusb2 | -rw-r--r-- | 9.6 KB |
README.saa7134 | -rw-r--r-- | 1.9 KB |
Zoran | -rw-r--r-- | 19.8 KB |
cafe_ccic | -rw-r--r-- | 2.4 KB |
cpia2_overview.txt | -rw-r--r-- | 2.3 KB |
cx18.txt | -rw-r--r-- | 811 bytes |
extract_xc3028.pl | -rwxr-xr-x | 44.6 KB |
fimc.txt | -rw-r--r-- | 5.7 KB |
gspca.txt | -rw-r--r-- | 16.0 KB |
hauppauge-wintv-cx88-ir.txt | -rw-r--r-- | 1.9 KB |
lifeview.txt | -rw-r--r-- | 1.5 KB |
meye.txt | -rw-r--r-- | 4.3 KB |
not-in-cx2388x-datasheet.txt | -rw-r--r-- | 953 bytes |
omap3isp.txt | -rw-r--r-- | 10.1 KB |
omap4_camera.txt | -rw-r--r-- | 1.9 KB |
pxa_camera.txt | -rw-r--r-- | 8.7 KB |
radiotrack.txt | -rw-r--r-- | 5.7 KB |
sh_mobile_ceu_camera.txt | -rw-r--r-- | 3.7 KB |
si470x.txt | -rw-r--r-- | 4.9 KB |
si4713.txt | -rw-r--r-- | 6.5 KB |
si476x.txt | -rw-r--r-- | 8.8 KB |
soc-camera.txt | -rw-r--r-- | 7.7 KB |
uvcvideo.txt | -rw-r--r-- | 8.4 KB |
v4l2-controls.txt | -rw-r--r-- | 27.1 KB |
v4l2-framework.txt | -rw-r--r-- | 45.8 KB |
v4l2-pci-skeleton.c | -rw-r--r-- | 25.8 KB |
videobuf | -rw-r--r-- | 16.1 KB |
vivid.txt | -rw-r--r-- | 47.2 KB |
zr364xx.txt | -rw-r--r-- | 3.4 KB |
Computing file changes ...