Re: [PATCH 03/11] ASoC: ux500: Provide better checking for Device Tree and/or Platform Data

2014-01-07 Thread Mark Brown
On Thu, Dec 19, 2013 at 03:55:00PM +, Lee Jones wrote: > These drivers will not work without platform specific data, which is > passed in via Device Tree or Platform Data. To avoid the chance of > NULL pointer dereferencing and alike, let's ensure we have at least > one of the methods in play

Re: [PATCH 03/11] ASoC: ux500: Provide better checking for Device Tree and/or Platform Data

2014-01-07 Thread Mark Brown
On Thu, Dec 19, 2013 at 03:55:00PM +, Lee Jones wrote: These drivers will not work without platform specific data, which is passed in via Device Tree or Platform Data. To avoid the chance of NULL pointer dereferencing and alike, let's ensure we have at least one of the methods in play

[PATCH 03/11] ASoC: ux500: Provide better checking for Device Tree and/or Platform Data

2013-12-19 Thread Lee Jones
These drivers will not work without platform specific data, which is passed in via Device Tree or Platform Data. To avoid the chance of NULL pointer dereferencing and alike, let's ensure we have at least one of the methods in play before continuing. Signed-off-by: Lee Jones ---

[PATCH 03/11] ASoC: ux500: Provide better checking for Device Tree and/or Platform Data

2013-12-19 Thread Lee Jones
These drivers will not work without platform specific data, which is passed in via Device Tree or Platform Data. To avoid the chance of NULL pointer dereferencing and alike, let's ensure we have at least one of the methods in play before continuing. Signed-off-by: Lee Jones lee.jo...@linaro.org