via: Do not attempt I/O on inactive I2C adapters
authorJonathan Corbet <corbet@lwn.net>
Mon, 28 Dec 2009 17:04:02 +0000 (10:04 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:37 +0000 (17:17 -0600)
If an adapter has been configured for GPIO (or off), we should not try to
use it as an I2C port.

Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Cc: Harald Welte <laforge@gnumonks.org>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

No differences found