Re: [PATCH v1.1 3/3] v4l: of: Add link-frequencies array to struct v4l2_of_endpoint

2015-03-15 Thread Sakari Ailus
Hi Guennadi, Many thanks for the comments! On Sun, Mar 15, 2015 at 06:15:27PM +0100, Guennadi Liakhovetski wrote: > Hi Sakari, > > Thanks for the patches. > > On Thu, 12 Mar 2015, Sakari Ailus wrote: > > > Parse and read the link-frequencies property in v4l2_of_parse_endpoint(). > > The proper

Re: [PATCH v1.1 3/3] v4l: of: Add link-frequencies array to struct v4l2_of_endpoint

2015-03-15 Thread Guennadi Liakhovetski
Hi Sakari, Thanks for the patches. On Thu, 12 Mar 2015, Sakari Ailus wrote: > Parse and read the link-frequencies property in v4l2_of_parse_endpoint(). > The property is an u64 array of undefined length, thus the memory allocation > may fail, leading > > - v4l2_of_parse_endpoint() to return an

[PATCH v1.1 3/3] v4l: of: Add link-frequencies array to struct v4l2_of_endpoint

2015-03-12 Thread Sakari Ailus
Parse and read the link-frequencies property in v4l2_of_parse_endpoint(). The property is an u64 array of undefined length, thus the memory allocation may fail, leading - v4l2_of_parse_endpoint() to return an error in such a case (as well as when failing to parse the property) and - to requiring