Re: [PATCH v4] s5p-fimc: Add runtime PM support in the mem-to-mem driver

2011-09-06 Thread Sylwester Nawrocki
On 09/05/2011 11:20 PM, Sakari Ailus wrote: +static int fimc_suspend(struct device *dev) +{ + struct fimc_dev *fimc = dev_get_drvdata(dev); + + dbg(fimc%d: state: 0x%lx, fimc-id, fimc-state); + + if (test_and_set_bit(ST_LPM,fimc-state)) + return 0; + if

Re: [PATCH v4] s5p-fimc: Add runtime PM support in the mem-to-mem driver

2011-09-05 Thread Sakari Ailus
Hi Sylwester, On Tue, Aug 30, 2011 at 05:00:39PM +0200, Sylwester Nawrocki wrote: Add runtime PM and system sleep support in the memory-to-memory driver. This is required to enable the device operation on Exynos4 SoCs. This patch prevents system boot failure when the driver is compiled in, as

Re: [PATCH v4] s5p-fimc: Add runtime PM support in the mem-to-mem driver

2011-09-05 Thread Sylwester Nawrocki
Hi Sakari, thanks for the comments. On 09/05/2011 08:06 AM, Sakari Ailus wrote: Hi Sylwester, On Tue, Aug 30, 2011 at 05:00:39PM +0200, Sylwester Nawrocki wrote: Add runtime PM and system sleep support in the memory-to-memory driver. This is required to enable the device operation on

Re: [PATCH v4] s5p-fimc: Add runtime PM support in the mem-to-mem driver

2011-09-05 Thread Sakari Ailus
On Mon, Sep 05, 2011 at 09:01:35PM +0200, Sylwester Nawrocki wrote: Hi Sakari, thanks for the comments. You're welcome! On 09/05/2011 08:06 AM, Sakari Ailus wrote: Hi Sylwester, On Tue, Aug 30, 2011 at 05:00:39PM +0200, Sylwester Nawrocki wrote: Add runtime PM and system sleep

[PATCH v4] s5p-fimc: Add runtime PM support in the mem-to-mem driver

2011-08-30 Thread Sylwester Nawrocki
Add runtime PM and system sleep support in the memory-to-memory driver. This is required to enable the device operation on Exynos4 SoCs. This patch prevents system boot failure when the driver is compiled in, as it now tries to access its I/O memory without first enabling the corresponding power