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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Jung <djung@nvidia.com>
Tested-by: David Jung <djung@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

index 8266698..3a6b1e1 100644 (file)
@@ -676,9 +676,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,