public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Nash <lee@compucrew.com>
To: linux-kernel@vger.kernel.org
Subject: mk712 driver patch
Date: Mon, 18 Nov 2002 14:55:07 -0500	[thread overview]
Message-ID: <1037649307.3dd9459b8997b@www2.compucrew.com> (raw)

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
--- 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;

             reply	other threads:[~2002-11-18 19:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18 19:55 Lee Nash [this message]
2002-11-18 23:55 ` [PATHC]mk712 touchscreen driver patch Lee Nash

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=1037649307.3dd9459b8997b@www2.compucrew.com \
    --to=lee@compucrew.com \
    --cc=linux-kernel@vger.kernel.org \
    /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