4412开发板设置外部中断为下降沿触发,但是在上升沿的时候也触发中断
时间:10-02
整理:3721RD
点击:
设置和问题如下:
1. 中断信号经过硬件消斗处理;
1. 调试迅为4412的外部中断时,设置中断为下降沿触发,但是在上升沿的时候也触发了中断,这里上升沿触发中断时,中断脚的电平读出来为 0;
2. 设置的外部中断脚为EXYNOS4_GPX2(0),EXYNOS4_GPX2(1),EXYNOS4_GPX1(2),EXYNOS4_GPX3(0)),EXYNOS4_GPX3(2);
3. 其中引脚EXYNOS4_GPX3(0)设置为下降沿中断时,在上升沿不会像其他引脚一样触发中断;
4. 设置为上升沿触发中断时,在上升沿会触发两次中断,在第一次中断时,读取中断脚的电平为 0,在第二次中断时,读取中断脚的电平为 1 ;
5. 调试过程中没有加载下列make menuconfig 路径中提供的的任何驱动:
Device Drivers --->
Input device support --->
· Keyboards --->
6. 中断配置代码如下:
- <p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = gpio_request(EXYNOS4_GPX3(2), "EINT26");</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("%s: request GPIO %d for EINT26 failed, ret = %d\n", DRIVER_NAME,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> EXYNOS4_GPX3(2), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> return ret;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_cfgpin(EXYNOS4_GPX3(2), S3C_GPIO_SFN(0xF));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_setpull(EXYNOS4_GPX3(2), S3C_GPIO_PULL_UP);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> gpio_free(EXYNOS4_GPX3(2));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = gpio_request(EXYNOS4_GPX3(2), "EINT26");</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("%s: request GPIO %d for EINT26 failed, ret = %d\n", DRIVER_NAME,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> EXYNOS4_GPX3(0), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> return ret;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_cfgpin(EXYNOS4_GPX3(0), S3C_GPIO_SFN(0xF));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_setpull(EXYNOS4_GPX3(0), S3C_GPIO_PULL_UP);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> gpio_free(EXYNOS4_GPX3(0));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = gpio_request(EXYNOS4_GPX2(1), "EINT17");</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("%s: request GPIO %d for EINT17 failed, ret = %d\n", DRIVER_NAME,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> EXYNOS4_GPX2(1), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> return ret;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_cfgpin(EXYNOS4_GPX2(1), S3C_GPIO_SFN(0xF));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_setpull(EXYNOS4_GPX2(1), S3C_GPIO_PULL_UP);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> gpio_free(EXYNOS4_GPX2(1));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = gpio_request(EXYNOS4_GPX1(2), "EINT10");</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("%s: request GPIO %d for EINT10 failed, ret = %d\n", DRIVER_NAME,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> EXYNOS4_GPX1(2), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> return ret;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_cfgpin(EXYNOS4_GPX1(2), S3C_GPIO_SFN(0xF));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> s3c_gpio_setpull(EXYNOS4_GPX1(2), S3C_GPIO_PULL_UP);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> gpio_free(EXYNOS4_GPX1(2));</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = request_irq(IRQ_EINT(26), eint26_interrupt,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> IRQ_TYPE_EDGE_FALLING /*IRQF_TRIGGER_FALLING*/, "eint26", pdev);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret < 0) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("Request IRQ %d failed, %d\n", IRQ_EINT(26), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> goto exit;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = request_irq(IRQ_EINT(24), eint24_interrupt,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> IRQ_TYPE_EDGE_FALLING /*IRQF_TRIGGER_FALLING*/, "eint24", pdev);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret < 0) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("Request IRQ %d failed, %d\n", IRQ_EINT(24), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> goto exit;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = request_irq(IRQ_EINT(17), eint17_interrupt,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> IRQ_TYPE_EDGE_FALLING /*IRQF_TRIGGER_FALLING*/, "eint17", pdev);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret < 0) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("Request IRQ %d failed, %d\n", IRQ_EINT(17), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> goto exit;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> }</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> ret = request_irq(IRQ_EINT(10), eint10_interrupt,</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> IRQ_TYPE_EDGE_FALLING /*IRQF_TRIGGER_FALLING*/, "eint10", pdev);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> if (ret < 0) {</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> printk("Request IRQ %d failed, %d\n", IRQ_EINT(10), ret);</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0pt 0pt 0pt 21pt; text-indent: 0pt; padding: 0pt; line-height: 15.75pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> goto exit;</span><span style="font-family: 宋体; color: rgb(68, 68, 68); letter-spa