From: Lee Nash <lee@compucrew.com>
To: linux-kernel@vger.kernel.org
Cc: marcelo@conectiva.com.br
Subject: [PATHC]mk712 touchscreen driver patch
Date: Mon, 18 Nov 2002 18:55:41 -0500 [thread overview]
Message-ID: <1037663741.3dd97dfdda29f@www2.compucrew.com> (raw)
In-Reply-To: <1037649307.3dd9459b8997b@www2.compucrew.com>
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
--- linux-2.4.19.orig/drivers/char/mk712.c Fri Aug 2 20:39:43 2002
+++ linux-2.4.19/drivers/char/mk712.c Mon Nov 18 13:09:59 2002
@@ -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;
prev parent reply other threads:[~2002-11-18 23:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 19:55 mk712 driver patch Lee Nash
2002-11-18 23:55 ` Lee Nash [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1037663741.3dd97dfdda29f@www2.compucrew.com \
--to=lee@compucrew.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox