Re: [PATCH 0/4] generic timeout handling for Renesas drivers

2015-06-21 Thread Laurent Pinchart
Hi Wolfram, Thank you for the patches. On Saturday 20 June 2015 21:03:18 Wolfram Sang wrote: > Here is a small patch series to make I2C timeout handling easier for users. > It is not so amazingly huge anymore and it can be modified via i2c-dev if > wanted. While at it, fix the type of the timeout

Re: [PATCH] i2c: designware: Make sure the device is suspended before disabling runtime PM

2015-06-21 Thread Wolfram Sang
On Wed, Jun 17, 2015 at 12:08:38PM +0300, Mika Westerberg wrote: > The driver calls pm_runtime_put() right before pm_runtime_disable() in its > ->remove() hook to make sure clock is gated etc. However, it turns out that > pm_runtime_put() only calls ->idle() hook without actually suspending > anyth

Re: [PATCH] i2c: tegra: don't advertise SMBUS_QUICK

2015-06-21 Thread Wolfram Sang
On Tue, Jun 16, 2015 at 07:47:21PM +0200, Wolfram Sang wrote: > This HW cannot send 0-byte-length messages and the driver discards them. > So, we should not advertise SMBUS_QUICK. > > Signed-off-by: Wolfram Sang Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH] i2c: tegra: apply size limit quirk

2015-06-21 Thread Wolfram Sang
On Tue, Jun 16, 2015 at 07:57:29PM +0200, Wolfram Sang wrote: > payload_size is a 12 bit field in the HW register, so add a limit for > this size. That way we gracefully reject the message beforehand instead > of generating an OOPS while transferring. Verified using some older > Tegra2 documentatio