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

2016-03-23 Thread Javier Martinez Canillas
Hello Andreas, Thanks for your feedback. On 03/23/2016 07:33 PM, Andreas Färber wrote: > Hi Javier, > > Am 23.03.2016 um 17:15 schrieb 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 increm

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

2016-03-23 Thread Andreas Färber
Hi Javier, Am 23.03.2016 um 17:15 schrieb 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 poi

[RFT PATCH] [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 --- H