Re: [RFT PATCH v2] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-07-15 Thread Nicolas Dufresne
Le vendredi 15 juillet 2016 à 12:53 -0400, Nicolas Dufresne a écrit : > Le jeudi 21 avril 2016 à 09:21 -0400, Javier Martinez Canillas a > écrit : > > Hello Sylwester, > > > > On 03/23/2016 08:41 PM, Javier Martinez Canillas wrote: > > > The same struct device_node * is used for looking up the

Re: [RFT PATCH v2] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-07-15 Thread Nicolas Dufresne
Le jeudi 21 avril 2016 à 09:21 -0400, Javier Martinez Canillas a écrit : > Hello Sylwester, > > On 03/23/2016 08:41 PM, Javier Martinez Canillas wrote: > > The same struct device_node * is used for looking up the I2C > > sensor, OF > > graph endpoint and port. So the reference count is

Re: [RFT PATCH v2] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-04-21 Thread Javier Martinez Canillas
Hello Sylwester, On 03/23/2016 08:41 PM, Javier Martinez Canillas wrote: > The same struct device_node * is used for looking up the I2C sensor, OF > graph endpoint and port. So the reference count is incremented but not > decremented for the endpoint and port nodes. > > Fix this by having

[RFT PATCH v2] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-03-23 Thread Javier Martinez Canillas
The same struct device_node * is used for looking up the I2C sensor, OF graph endpoint and port. So the reference count is incremented but not decremented for the endpoint and port nodes. Fix this by having separate pointers for each node looked up. Signed-off-by: Javier Martinez Canillas