On 4/7/2014 8:18 AM, [email protected] wrote:
From: Maurice Petallo <[email protected]>

Use BYT DMA PCI <domain>:<bus>:<slot>.<func> identification
as device name input during clkdev registration.

Signed-off-by: Maurice Petallo <[email protected]>
---
  arch/x86/platform/byt/byt-board.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/platform/byt/byt-board.c 
b/arch/x86/platform/byt/byt-board.c
index be4ed4d..e94a377 100644
--- a/arch/x86/platform/byt/byt-board.c
+++ b/arch/x86/platform/byt/byt-board.c
@@ -47,7 +47,7 @@ static int byt_clk_setup(void)
        if (IS_ERR(clk))
                return PTR_ERR(clk);
- clk_register_clkdev(clk, "hclk", "dw_dmac.0");
+       clk_register_clkdev(clk, "hclk", "0000:00:1e.0");
Such kind of hard-coded constant addresses are not well received for upstreaming. Can this
address instead be deduced at runtime?

Nitin



clk = clk_register_fixed_rate(NULL, "spi_clk", "lpss_clk", 0, 50000000);
        if (IS_ERR(clk))

--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to