The patch titled rtc-pcf8583: Check for i2c adapter functionality has been added to the -mm tree. Its filename is rtc-pcf8583-check-for-i2c-adapter-functionality.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: rtc-pcf8583: Check for i2c adapter functionality From: Jean Delvare <khali@xxxxxxxxxxxx> Not all i2c adapters support I2C-level messaging. Check that the adapter does before probing for a PCF8583 chip, as the driver makes use of i2c_transfer and i2c_master_send. Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> Signed-off-by: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-pcf8583.c | 3 +++ 1 files changed, 3 insertions(+) diff -puN drivers/rtc/rtc-pcf8583.c~rtc-pcf8583-check-for-i2c-adapter-functionality drivers/rtc/rtc-pcf8583.c --- a/drivers/rtc/rtc-pcf8583.c~rtc-pcf8583-check-for-i2c-adapter-functionality +++ a/drivers/rtc/rtc-pcf8583.c @@ -332,6 +332,9 @@ static int pcf8583_probe(struct i2c_adap } }; + if (!i2c_check_functionality(adap, I2C_FUNC_I2C)) + return 0; + pcf = kzalloc(sizeof(*pcf), GFP_KERNEL); if (!pcf) return -ENOMEM; _ Patches currently in -mm which might be from khali@xxxxxxxxxxxx are git-dvb.patch i2c-i801-documentation-patch-for-intel-tolapai.patch i2c-i801-smbus-patch-for-intel-tolapai.patch i2c-i801-smbus-patch-for-intel-tolapai-fix.patch git-hwmon.patch applesmc-for-mac-pro-2-x-quad-core.patch git-ieee1394.patch hdaps-switch-to-using-input-polldev.patch applesmc-switch-to-using-input-polldev.patch ams-switch-to-using-input-polldev.patch irq-irq-and-pci_ids-patch-for-intel-tolapai.patch irq-irq-and-pci_ids-patch-for-intel-tolapai-fix.patch rtc-pcf8583-check-for-i2c-adapter-functionality.patch i2c-pxa-rename-bit-macro-to-pxa_bit.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html