Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935825Ab0GPHTg (ORCPT ); Fri, 16 Jul 2010 03:19:36 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:50147 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935815Ab0GPHTb convert rfc822-to-8bit (ORCPT ); Fri, 16 Jul 2010 03:19:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=K5I+hGXzYbF4JA4f2aZ/Ew/EQhnfJ38653xrBDMfgdyikeJ4W6ZVZzlljF+FMwuJ2g kJI1qlw3IKHHqqN4AqonS7BLbcQYS+yawaqjzVV1r+2c0u+o/FFh1dAKZ50exQhOg/Tg wbLoQJ4toYExmHRdmZ8+KNtT20GA91E5Gl8U0= From: Marek Vasut Organization: Hack&Dev To: Wan ZongShun Subject: Re: [PATCH] ARM/nuc900: fix nuc900 touchscreen clk definition bug Date: Fri, 16 Jul 2010 09:19:24 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34-1-amd64; KDE/4.4.4; x86_64; ; ) Cc: linux-arm-kernel@lists.infradead.org, LKML , Russell King References: <4C3FCBFF.50506@gmail.com> <201007160709.15385.marek.vasut@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201007160919.24927.marek.vasut@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2065 Lines: 52 Dne Pá 16. července 2010 07:34:21 Wan ZongShun napsal(a): > 2010/7/16 Marek Vasut : > > Dne Pá 16. července 2010 05:03:27 Wan ZongShun napsal(a): > >> This patch is to fix nuc900 touchscreen clk definition bug,the .dev_id's > >> name should be 'nuc900-ts', it should be the same to pdev.name. or else, > >> the touchscreen driver will be not working well due to clock engine > >> disabled. > >> > >> Signed-off-by: Wan ZongShun > >> --- > >> arch/arm/mach-w90x900/cpu.c | 2 +- > >> 1 files changed, 1 insertions(+), 1 deletions(-) > >> > >> diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c > >> index 642207e..83c5632 100644 > >> --- a/arch/arm/mach-w90x900/cpu.c > >> +++ b/arch/arm/mach-w90x900/cpu.c > >> @@ -93,7 +93,7 @@ static struct clk_lookup nuc900_clkregs[] = { > >> DEF_CLKLOOK(&clk_kpi, "nuc900-kpi", NULL), > >> DEF_CLKLOOK(&clk_wdt, "nuc900-wdt", NULL), > >> DEF_CLKLOOK(&clk_gdma, "nuc900-gdma", NULL), > >> - DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL), > >> + DEF_CLKLOOK(&clk_adc, "nuc900-ts", NULL), > >> DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL), > >> DEF_CLKLOOK(&clk_ext, NULL, "ext"), > >> DEF_CLKLOOK(&clk_timer0, NULL, "timer0"), > > > > Hey, > > > > Is that thing really touchscreen or general-purpose analog/digital > > converter ? > > Oh, it is general-purpose analog/digital converter controller. > I only use it to implemnt my touchscreen function, Also it can be use > other function. > > so, I have to change my touchscreen driver name to nuc900-adc? No, just change the name of clock in the touchscreen driver. So that the touchscreen driver will use nuc900-adc clocksource. You're welcome. :) > > Thanks for your Reminder, I appreciate it. :) > > > Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/