Re: [RFC PATCH 02/16] ASoC: pcm512x: use "sclk" string to retrieve clock

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

 





On 4/14/20 12:11 PM, Andy Shevchenko wrote:
On Thu, Apr 09, 2020 at 02:58:27PM -0500, Pierre-Louis Bossart wrote:
Using devm_clk_get() with a NULL string fails on ACPI platforms, use
the "sclk" string as a fallback.

This is fishy a bit.

I didn't find a single example where we use a NULL string in ACPI cases?

Do we have this name in the bindings?

No, that's probably a miss

If no, why not simple switch to devm_clk_get_optional()?

Not sure what that would change?



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux