[alsa-devel] [PATCH] ASoC: fsl-sai: Add device tree nodes and its availiable check

Mark Brown broonie at kernel.org
Fri Jan 10 12:09:00 CET 2014

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140110/0abcfb15/attachment.sig>

More information about the Alsa-devel mailing list