Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: pnx: Fix bit definitions

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>

authored by

Roland Stigge and committed by
Wolfram Sang
b3aafe80 55d512e2

+3 -2
+3 -2
drivers/i2c/busses/i2c-pnx.c
··· 48 48 mcntrl_afie = 0x00000002, 49 49 mcntrl_naie = 0x00000004, 50 50 mcntrl_drmie = 0x00000008, 51 - mcntrl_daie = 0x00000020, 52 - mcntrl_rffie = 0x00000040, 51 + mcntrl_drsie = 0x00000010, 52 + mcntrl_rffie = 0x00000020, 53 + mcntrl_daie = 0x00000040, 53 54 mcntrl_tffie = 0x00000080, 54 55 mcntrl_reset = 0x00000100, 55 56 mcntrl_cdbmode = 0x00000400,