Re: [PATCH] ASoC: samsung: i2s: Supported high resolution rates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux