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

2015-03-11 Thread Lad, Prabhakar
Hi Sakari, Thanks for the patch. On Tue, Mar 10, 2015 at 1:18 AM, 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 r

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

2015-03-09 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