ASoC: msm: change clk_get() to clk_get_sys() for Audiodrivers in 8660
Impact:
clk_get() expects the device information as the first parameter to
while assigning the clock.
Problem:
All the sound devices use the same interface clock. The ids of these
devices may vary depending on the target used ( ffa, surf, fluid etc)
as they are dynamically assigned in msm_snddev_init.
So, it is not possible to provide the device id for clk_get().
Change:
clk_get_sys() is used instead of clk_get() for 8660 targets.
clk_get_sys() is a drop-in replacement for clk_get() except it does
not take a device pointer as an argument. Instead, it takes an
arbitrary string that is matched against the right-most column in
the clock table.
Change-Id: I71d1e60ae3b1f958548565e749e9304c7a4e86f7
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
4 files changed