mk712 driver patch
Hey,
I think this is a typo in the mk712 device driver. It would always
fail even though the region appears in /proc/ioports.
After this patch, the device works correctly.
Thanks,
-lee
diff -ur linux-2.4.19.orig/drivers/char/mk712.c linux- 2.4.19/drivers/char/mk712.c
drivers/char/mk712.c +1 -1
@@ -439,7 +439,7 @@ mk712_irq = irq;#endif -if (request_region (mk712_io,8 ,"mk712_touchscreen" )) +if (!request_region (mk712_io,8 ,"mk712_touchscreen" )) {printk ("mk712: unable to get IO region\n" );return -ENODEV ;
[PATHC]mk712 touchscreen driver patch
Hey,
I think this is a typo in the mk712 device driver. It would always
fail even though the region appears in /proc/ioports.
After this patch, the device works correctly.
Thanks,
-lee
(sorry about the double post)
Kernel version 2.4.19 stock
diff -ur linux-2.4.19.orig/drivers/char/mk712.c linux- 2.4.19/drivers/char/mk712.c
drivers/char/mk712.c +1 -1
@@ -439,7 +439,7 @@ mk712_irq = irq;#endif -if (request_region (mk712_io,8 ,"mk712_touchscreen" )) +if (!request_region (mk712_io,8 ,"mk712_touchscreen" )) {printk ("mk712: unable to get IO region\n" );return -ENODEV ;