[alsa-devel] [PATCH] ASoC: samsung: i2s: Supported high resolution rates
Mark Brown
broonie at kernel.org
Wed Jul 5 12:11:46 CEST 2017
On Wed, Jul 05, 2017 at 03:13:23PM +0900, Andi Shyti wrote:
> > + if (IS_ENABLED(CONFIG_OF) && pdev->dev.of_node)
> I do not like drivers to check the Kernel's configuration, I
> think just checking "pdev->dev.of_node" is enough.
This idiom gets used because it allows the compiler to optimize out the
DT section if the kernel is built without DT support, it's fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170705/c27902c7/attachment.sig>
More information about the Alsa-devel
mailing list