]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: platform: Mark 'hclk' clock optional
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Sep 2019 08:51:16 +0000 (11:51 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 08:21:44 +0000 (13:51 +0530)
commit0d9b5ccb4430b2a66848647553940eb2ccab6a15
treeadd1ad60d5b239d4c7707ee22e4eb4103efb84ed
parent8a0bfb07b495abd3ea2390c0230683f2c181278b
dmaengine: dw: platform: Mark 'hclk' clock optional

On some platforms the clock can be fixed rate, always running one and
there is no need to do anything with it.

In order to support those platforms, switch to use optional clock.

Fixes: 984a60dbae4e ("dmaengine: dw: platform: Enable iDMA 32-bit on Intel Elkhart Lake")
Depends-on: ec732d940c2c ("clk: Add (devm_)clk_get_optional() functions")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20190924085116.83683-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/platform.c