Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2382141imm; Mon, 24 Sep 2018 03:29:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV60wSq/wN8O2UDmPW0bzCHsf6QFhp4vYdV9vf4k7waRRyxgwSD9am3kq8RSTRnxf2Y1RV3Qq X-Received: by 2002:a63:115f:: with SMTP id 31-v6mr8932150pgr.53.1537784984286; Mon, 24 Sep 2018 03:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537784984; cv=none; d=google.com; s=arc-20160816; b=XS6U3wG1otcIbjV5fLrY6PQYvOYd/XMwYgDmJ+jaIcVFhjTKp6WZYEtezW6MRfZMux JHZRZ8obGf20iLo9j15V0wtnVoWmby0TZJHauVZFRVsJc+grsPc6Lm8C/FF0oH+nonhn iT5Gr1LpYlrL1hyNYj8cD06czSuDPt+X/OVrQYRT81olE8e06iL0xQ5OC52eh11DpRJ+ 5gOUs6PdF/KxlBiCOglaOoTdMmTAulkvxOodNbzPbTGjlz0da8J31b2ozG6KO98VZ2KS WFCEOOXQ+pDsbJWDUHj55wkCHnEZaGs7QrKqKKU9k0c9WoNYxTrUBC0OYUlm2BMgvt5K Nc0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=CFosulhIrX8k7f4wcBkcDL304v8N5xYWWCxAX7UUC3o=; b=sUhsYeyLdlWVYm/zFxc05AwZeeTiCo4IUqXI6nI/57+Mdhy6VdFOZPoP4+VcMxPjjG y7ljEDL5D7PfoTxMPIug4i6HiDEIyuPUNVUAjivuw62vjB4C3qBBjUg0NLvH5+noSQXz InJxrKCOB56VLrcG1Hly317ksj0786yFDHF6DF26lN1uv7rY0ymXRzasXkm9uJz74VaQ 6xDV3SkG4bFILMSfY3etXpDIpVGe49MMIQlMC2U9KwNr6zRpn+lF7m0p8wVbG2KvIdPn K7a6VpKLtMHKu0BPIFhYL3ceCNGo7JGnhrwys28SNSK8LDfxS8zukq6vEcngbQeZ8pvJ OT1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7-v6si34449165pgj.480.2018.09.24.03.29.28; Mon, 24 Sep 2018 03:29:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728387AbeIXQaO (ORCPT + 99 others); Mon, 24 Sep 2018 12:30:14 -0400 Received: from mga07.intel.com ([134.134.136.100]:13994 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728361AbeIXQaN (ORCPT ); Mon, 24 Sep 2018 12:30:13 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 03:28:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="73244527" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga008.fm.intel.com with ESMTP; 24 Sep 2018 03:28:47 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: Songjun Wu , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jiri Slaby Subject: [PATCH 07/14] serial: lantiq: Rename fpiclk to freqclk Date: Mon, 24 Sep 2018 18:27:56 +0800 Message-Id: <20180924102803.30263-8-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180924102803.30263-1-songjun.wu@linux.intel.com> References: <20180924102803.30263-1-songjun.wu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fpiclk is platform specific, freqclk is more generic. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index e351f80996d3..4acdbdf8fe7a 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -105,7 +105,7 @@ static DEFINE_SPINLOCK(ltq_asc_lock); struct ltq_uart_port { struct uart_port port; /* clock used to derive divider */ - struct clk *fpiclk; + struct clk *freqclk; /* clock gating of the ASC core */ struct clk *clk; unsigned int tx_irq; @@ -309,7 +309,7 @@ lqasc_startup(struct uart_port *port) if (!IS_ERR(ltq_port->clk)) clk_enable(ltq_port->clk); - port->uartclk = clk_get_rate(ltq_port->fpiclk); + port->uartclk = clk_get_rate(ltq_port->freqclk); asc_update_bits(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET), port->membase + LTQ_ASC_CLC); @@ -632,7 +632,7 @@ lqasc_console_setup(struct console *co, char *options) if (!IS_ERR(ltq_port->clk)) clk_enable(ltq_port->clk); - port->uartclk = clk_get_rate(ltq_port->fpiclk); + port->uartclk = clk_get_rate(ltq_port->freqclk); if (options) uart_parse_options(options, &baud, &parity, &bits, &flow); @@ -744,8 +744,8 @@ lqasc_probe(struct platform_device *pdev) port->irq = irqres[0].start; port->mapbase = mmres->start; - ltq_port->fpiclk = clk_get_fpi(); - if (IS_ERR(ltq_port->fpiclk)) { + ltq_port->freqclk = clk_get_fpi(); + if (IS_ERR(ltq_port->freqclk)) { pr_err("failed to get fpi clk\n"); return -ENOENT; } -- 2.11.0