i2c-pnx: Enable clocking only during transfers
authorKevin Wells <wellsk40@gmail.com>
Tue, 18 Jan 2011 19:05:34 +0000 (11:05 -0800)
committerKevin Wells <wellsk40@gmail.com>
Tue, 18 Jan 2011 19:05:34 +0000 (11:05 -0800)
commit12e184b2817754d17c61361205df78d10ce3dd3c
tree913558048cf77dd42433c0d242530e967e50b39d
parent5a82071b4b8cebbcbce6262653b7dcfa0e54097b
i2c-pnx: Enable clocking only during transfers

To help reduce power usage during non-I2C transactions, setup I2C
clocking to only come on when an I2C transaction is in progress or
when the I2C peripheral registers need to be accessed.
drivers/i2c/busses/i2c-pnx.c