[PATCH] i2c: Fix Kconfig dependencies

2010-10-04 Thread Michal Marek
drivers/i2c/algos/Kconfig makes all the algorithms dependent on !I2C_HELPER_AUTO, which triggers a Kconfig warning about broken dependencies when some driver selects one of the algorithms. Make only the prompts dependent on !I2C_HELPER_AUTO, not the complete symbols. This moves the entries out of

Re: [lm-sensors] [RFC PATCH 6/9] hwmon: lis3: New parameters to platform data

2010-10-04 Thread Jonathan Cameron
On 10/01/10 12:46, Samu Onkalo wrote: Added control for duration via platform data. Added possibility to configure interrupts to trig on both rising and falling edge. The lis3 WU unit can be configured quite many ways and with some configurations it is quite handy to get coordinate refresh

Re: [lm-sensors] [RFC PATCH 8/9] hwmon: lis3: use block read to access data registers

2010-10-04 Thread Jonathan Cameron
On 10/01/10 12:46, Samu Onkalo wrote: Add optional blockread function to interface driver. If available the chip driver uses it for data register access. For 12 bit device it reads 6 bytes to get 3*16bit data. For 8 bit device it reads out 5 bytes since every second byte is dummy. This

[PATCH V3 RESEND5] i2c-imx: do not allow interruptions when waiting for I2C to complete

2010-10-04 Thread Marc Kleine-Budde
Hello Ben, I've send this patch several times, can you please comment it or apply it to your git tree. Please send me a note if you do so, then I can stop bugging you :) cheers, Marc 888888 The i2c_imx_trx_complete() function is using

Re: [PATCH] i2c: Fix Kconfig dependencies

2010-10-04 Thread Jean Delvare
Hi Michal, On Mon, 4 Oct 2010 15:31:33 +0200, Michal Marek wrote: drivers/i2c/algos/Kconfig makes all the algorithms dependent on !I2C_HELPER_AUTO, which triggers a Kconfig warning about broken dependencies when some driver selects one of the algorithms. Make only the prompts dependent on

Re: [PATCH 2.6.35.4] irq: irq and pci_ids patch for Intel Patsburg

2010-10-04 Thread Seth Heasley
--- linux-2.6.35.4/drivers/i2c/busses/Kconfig.orig 2010-09-24 14:59:23.0 -0700 +++ linux-2.6.35.4/drivers/i2c/busses/Kconfig2010-09-24 14:59:42.0 -0700 @@ -95,7 +95,7 @@ ESB2 ICH8 ICH9 -Tolapai +EP80579 ICH10

Re: [PATCH] i2c: Fix Kconfig dependencies

2010-10-04 Thread Michal Marek
On 4.10.2010 18:03, Jean Delvare wrote: You have bad luck, I'm afraid. Sure, most users do not unset I2C_HELPER_AUTO, so they will not see the extra entries in the main I2C menu, however _I_ unset it and guess what, _I_ am the one deciding whether your patch can be applied or not ;) OK :).

Re: [PATCH] i2c: Fix Kconfig dependencies

2010-10-04 Thread Michal Marek
(Sorry, I missed the patch in your message before) On Mon, Oct 04, 2010 at 06:03:46PM +0200, Jean Delvare wrote: On Mon, 4 Oct 2010 15:31:33 +0200, Michal Marek wrote: [...] selects I2C_ALGOBIT which has unmet direct dependencies (I2C !I2C_HELPER_AUTO) [...] This message is obscure.