From: greg@kroah.com (Greg KH)
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: [PATCH] i2c driver fixes for 2.6.2-rc2
Date: Thu, 19 May 2005 06:24:37 +0000 [thread overview]
Message-ID: <10752464533223@kroah.com> (raw)
In-Reply-To: <1075246453858@kroah.com>
In-Reply-To: <10752464532280@kroah.com>
ChangeSet 1.1474.148.3, 2004/01/23 17:14:52-08:00, khali@linux-fr.org
[PATCH] I2C: Fix bus reset in i2c-philips-par
This patch fixes the bus reset in i2c-philips-par when it is loaded with
type!=0. For now, the reset is always made as is type=0. I guess that
this driver will be abandoned in a while, but it probably doesn't hurt
to fix that.
drivers/i2c/busses/i2c-philips-par.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/i2c/busses/i2c-philips-par.c b/drivers/i2c/busses/i2c-philips-par.c
--- a/drivers/i2c/busses/i2c-philips-par.c Tue Jan 27 15:27:08 2004
+++ b/drivers/i2c/busses/i2c-philips-par.c Tue Jan 27 15:27:08 2004
@@ -184,8 +184,8 @@
return;
}
/* reset hardware to sane state */
- bit_lp_setsda(port, 1);
- bit_lp_setscl(port, 1);
+ adapter->bit_lp_data.setsda(port, 1);
+ adapter->bit_lp_data.setscl(port, 1);
parport_release(adapter->pdev);
if (i2c_bit_add_bus(&adapter->adapter) < 0) {
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] i2c driver fixes for 2.6.2-rc2
Date: Tue, 27 Jan 2004 15:34:13 -0800 [thread overview]
Message-ID: <10752464533223@kroah.com> (raw)
In-Reply-To: <1075246453858@kroah.com>
ChangeSet 1.1474.148.3, 2004/01/23 17:14:52-08:00, khali@linux-fr.org
[PATCH] I2C: Fix bus reset in i2c-philips-par
This patch fixes the bus reset in i2c-philips-par when it is loaded with
type!=0. For now, the reset is always made as is type==0. I guess that
this driver will be abandoned in a while, but it probably doesn't hurt
to fix that.
drivers/i2c/busses/i2c-philips-par.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/i2c/busses/i2c-philips-par.c b/drivers/i2c/busses/i2c-philips-par.c
--- a/drivers/i2c/busses/i2c-philips-par.c Tue Jan 27 15:27:08 2004
+++ b/drivers/i2c/busses/i2c-philips-par.c Tue Jan 27 15:27:08 2004
@@ -184,8 +184,8 @@
return;
}
/* reset hardware to sane state */
- bit_lp_setsda(port, 1);
- bit_lp_setscl(port, 1);
+ adapter->bit_lp_data.setsda(port, 1);
+ adapter->bit_lp_data.setscl(port, 1);
parport_release(adapter->pdev);
if (i2c_bit_add_bus(&adapter->adapter) < 0) {
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 23:32 [BK PATCH] i2c driver fixes for 2.6.2-rc2 Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` [PATCH] " Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` Greg KH [this message]
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-27 23:34 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-28 13:08 ` Typo (Re: [PATCH] i2c driver fixes for 2.6.2-rc2) David Martínez Moreno
2005-05-19 6:24 ` David Martínez Moreno
2004-01-28 23:23 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-29 11:27 ` David Martínez Moreno
2005-05-19 6:24 ` David Martínez Moreno
2004-01-29 19:47 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-30 9:58 ` David Martínez Moreno
2005-05-19 6:24 ` David Martínez Moreno
2004-01-31 0:55 ` Greg KH
2005-05-19 6:24 ` Greg KH
2004-01-29 0:44 ` [BK PATCH] i2c driver fixes for 2.6.2-rc2 J.A. Magallon
2005-05-19 6:24 ` J.A. Magallon
2004-01-29 0:47 ` J.A. Magallon
2005-05-19 6:24 ` J.A. Magallon
2004-01-29 8:44 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2004-01-29 22:21 ` J.A. Magallon
2005-05-19 6:24 ` J.A. Magallon
2004-01-29 22:56 ` J.A. Magallon
2005-05-19 6:24 ` J.A. Magallon
2004-01-30 3:38 ` Mark M. Hoffman
2005-05-19 6:24 ` Mark M. Hoffman
2004-01-30 9:36 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2004-01-30 9:18 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
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=10752464533223@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.