ARM: pxa: hx4700: Initialize DS1WM clock_rate
authorPaul Parsons <lost.distance@yahoo.com>
Wed, 2 May 2012 15:49:16 +0000 (16:49 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Thu, 3 May 2012 01:49:10 +0000 (09:49 +0800)
The asic3 driver now sets the DS1WM clock_rate from the newly added
asic3_platform_data clock_rate field.

This patch initializes the asic3_platform_data clock_rate field on the
hx4700 platform.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/hx4700.c

index b83b95a..fe8fb7a 100644 (file)
@@ -291,6 +291,7 @@ static struct asic3_platform_data asic3_platform_data = {
        .gpio_config_num = ARRAY_SIZE(asic3_gpio_config),
        .irq_base        = IRQ_BOARD_START,
        .gpio_base       = HX4700_ASIC3_GPIO_BASE,
+       .clock_rate      = 4000000,
        .leds            = asic3_leds,
 };