Re: [PATCH 01/33] add lp5521 driver

2008-08-31 Thread Felipe Balbi
On Sun, Aug 31, 2008 at 01:39:21PM -0700, David Brownell wrote: > On Saturday 30 August 2008, Felipe Balbi wrote: > > +static int lp5521_configure(struct i2c_client *client) > > +{ > > +   int ret = 0; > > + > > +   /* Enable chip and set light to logarithmic mode*/ > > +   ret |= lp552

Re: [PATCH 01/33] add lp5521 driver

2008-08-31 Thread David Brownell
On Saturday 30 August 2008, Felipe Balbi wrote: > +static int lp5521_configure(struct i2c_client *client) > +{ > +   int ret = 0; > + > +   /* Enable chip and set light to logarithmic mode*/ > +   ret |= lp5521_write(client, LP5521_REG_ENABLE, 0xc0); > + > +   /* setting all color p

[PATCH 01/33] add lp5521 driver

2008-08-30 Thread Felipe Balbi
From: Felipe Balbi <[EMAIL PROTECTED]> Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- drivers/i2c/chips/Kconfig |7 + drivers/i2c/chips/Makefile |2 +- drivers/i2c/chips/lp5521.c | 585 3 files changed, 593 insertions(+), 1 deletions(-)