On Wed, Feb 24, 2016 at 12:08:31AM +0100, Heiko Stuebner wrote:
Am Dienstag, 23. Februar 2016, 08:50:04 schrieb Pierre-Louis
Bossart:
This patch assumes that the information on mclk comes from
DeviceTree. The mclk may also be enabled/disabled in the machine
driver with an explicit transition to use an internal clock when
the codec is not used. I hope this patch doesn't preclude such
usages or there will be a conflict with the patches we are about
to upstream for Baytrail/cht devices.
As you can see, the clock property itself is optional and the
clk_get below acts accordingly of also continuing if the clock is
not present. So it won't affect any users doing it otherwise.
That said we really do need x86 to transition to use the clock API
in order to integrate with external devices, where the machine driver
does manage clocks we want that to move to being done using the clock
API rather than custom APIs.