lkml.org 
[lkml]   [2014]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: fsl-sai: Add device tree nodes and its availiable check
On Fri, Jan 10, 2014 at 10:05:50AM +0800, Xiubo Li wrote:

> + if (!np || !of_device_is_available(np))
> + return -ENODEV;
> +

I would expect the of_device_is_available() check to be done by the
driver core rather than by individual drivers - every single driver
should have that check. Is this not happening? The check for np is OK
though.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-01-10 12:21    [W:0.061 / U:1.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site