linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 1/2] i2c: pnx: Fix bit definitions
@ 2012-08-08  7:42 Roland Stigge
  2012-08-08  7:42 ` [PATCH RESEND 2/2] i2c: pnx: Fix read transactions of >= 2 bytes Roland Stigge
  2012-08-18  9:51 ` [PATCH RESEND 1/2] i2c: pnx: Fix bit definitions Wolfram Sang
  0 siblings, 2 replies; 13+ messages in thread
From: Roland Stigge @ 2012-08-08  7:42 UTC (permalink / raw)
  To: vitalywool, khali, ben-linux, w.sang, grant.likely, linux-i2c,
	linux-kernel, kevin.wells, srinivas.bakki, aletes.xgr, jonsmirl
  Cc: Roland Stigge

The I2C Control Register bits RFDAIE and RFFIE were mixed up. In addition to
this fix, this patch adds the missing bit DRSIE for completeness.

Signed-off-by: Roland Stigge <stigge@antcom.de>

---
Applies to v3.6-rc1

This patch for i2c-pnx affects PNX4008 and LPC32xx (and LPC31xx, not yet in
mainline). Can you please test and double-check the manuals of PNX4008 and
LPC31xx? I only found this via the manual of LPC32xx but assume it's the same
for the others, also.

Thanks in advance!

 drivers/i2c/busses/i2c-pnx.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.orig/drivers/i2c/busses/i2c-pnx.c
+++ linux-2.6/drivers/i2c/busses/i2c-pnx.c
@@ -48,8 +48,9 @@ enum {
 	mcntrl_afie = 0x00000002,
 	mcntrl_naie = 0x00000004,
 	mcntrl_drmie = 0x00000008,
-	mcntrl_daie = 0x00000020,
-	mcntrl_rffie = 0x00000040,
+	mcntrl_drsie = 0x00000010,
+	mcntrl_rffie = 0x00000020,
+	mcntrl_daie = 0x00000040,
 	mcntrl_tffie = 0x00000080,
 	mcntrl_reset = 0x00000100,
 	mcntrl_cdbmode = 0x00000400,

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-09-04  9:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08  7:42 [PATCH RESEND 1/2] i2c: pnx: Fix bit definitions Roland Stigge
2012-08-08  7:42 ` [PATCH RESEND 2/2] i2c: pnx: Fix read transactions of >= 2 bytes Roland Stigge
2012-08-18  9:52   ` Wolfram Sang
2012-08-19  8:45     ` Roland Stigge
2012-08-18  9:51 ` [PATCH RESEND 1/2] i2c: pnx: Fix bit definitions Wolfram Sang
2012-08-19  8:47   ` Roland Stigge
2012-08-20 16:26     ` Kevin Wells
2012-08-20 16:47       ` Roland Stigge
2012-08-20 19:49         ` Arnd Bergmann
2012-08-20 17:55       ` Wolfram Sang
2012-08-20 20:47         ` Roland Stigge
2012-09-03 20:16         ` Roland Stigge
2012-09-04  9:20           ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).