ACPI / LPSS: register clock device for Lynxpoint DMA properly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 May 2013 08:55:49 +0000 (11:55 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 14 May 2013 04:53:58 +0000 (10:23 +0530)
commitb59cc200ac025aca597fb21862c1c9e667f2eff2
treefabada02fb402faffe5ec3582df3806b4c27d97c
parentee8209fd026b074bb8eb75bece516a338a281b1b
ACPI / LPSS: register clock device for Lynxpoint DMA properly

The DMA controller in Lynxpoint is enumerated as a regular ACPI device now. To
work properly it is using the LPSS root clock as a functional clock. That's why
we have to register the clock device accordingly to the ACPI ID of the DMA
controller. The acpi_lpss.c module is responsible to do the job.

This patch also removes hardcoded name of the DMA device in clk-lpt.c and the
name of the root clock in acpi_lpss.c.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/acpi/acpi_lpss.c
drivers/clk/x86/clk-lpt.c
include/linux/platform_data/clk-lpss.h