arm:tegra: remove clock enable in board file
Xiaohui Tao [Wed, 6 Feb 2013 00:07:58 +0000 (16:07 -0800)]
Clock is controlled in raydium driver now. Remove
the clock enable in board file.

Bug 1228213

Change-Id: I6fa83adf3689fa9911544caba54340101af19ed7
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/197647
(cherry picked from commit a1e86391a37cce1f62eeb216a4d6bd3417c9fc87)

Signed-off-by: David Jung <djung@nvidia.com>
Change-Id: Ided74f1bac858791ad53dd7222d6fb342c32d0ef
Reviewed-on: http://git-master/r/201370
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

arch/arm/mach-tegra/board-roth.c

index 7d93975..96e5fb9 100644 (file)
@@ -639,9 +639,7 @@ struct spi_board_info rm31080a_roth_spi_board[1] = {
 static int __init roth_touch_init(void)
 {
        tegra_clk_init_from_table(touch_clk_init_table);
-       clk_enable(tegra_get_clock_by_name("clk_out_2"));
        rm31080ts_roth_data.platform_id = RM_PLATFORM_R005;
-       mdelay(20);
        rm31080a_roth_spi_board[0].irq =
                gpio_to_irq(TOUCH_GPIO_IRQ_RAYDIUM_SPI);
        touch_init_raydium(TOUCH_GPIO_IRQ_RAYDIUM_SPI,