i2c: pnx: Fix bit definitions
authorRoland Stigge <stigge@antcom.de>
Wed, 8 Aug 2012 07:42:31 +0000 (09:42 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 15:52:38 +0000 (17:52 +0200)
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>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-pnx.c

index 5d54416770b01e7816cc85cd7dcbf403bf407442..b36e21f9fd5315140f8c67372a495672a9b77e58 100644 (file)
@@ -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,