Re: [PATCH] i2c-i801: Fix resume when PEC is used

From: Linus Torvalds
Date: Wed Apr 19 2006 - 12:21:49 EST




On Wed, 19 Apr 2006, Jean Delvare wrote:
>
> The BIOS of the Tecra M2 doesn't like it when it has to reboot or
> resume after the i2c-i801 driver has left the SMBus in PEC mode. The
> most simple fix is to clear the PEC bit after after every transaction.

Just wondering.. Wouldn't it make more sense to clear it when closing the
device or when shutting down, rather than after each transaction?

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/