Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1414147

Re: [PATCH 2/3] tty: serial: msm: Only configure MND registers on hw that has it

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Andy Gross <andy.gross@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] tty: serial: msm: Only configure MND registers on hw that has it
Date Sun, 05 Jun 2016 21:10:02 +0200
Message-ID <rGLAS-2kr-21@gated-at.bofh.it> (permalink)
References <rxNix-371-3@gated-at.bofh.it> <rxNiy-371-11@gated-at.bofh.it>
X-Original-To Stephen Boyd <sboyd@codeaurora.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FovBGEwF43fZHGl3OFBpySCPdHJtge0/DWWJOyLpseg=; b=dZwTnlzjGCqoUbN3jQPl7KJgbH/NiNsoCOLD+KGV5cIcE1+mBW5DCTKq5sjRy7ZUjA nndWIHRf1evadllPchfNwH1POGL0RfXrVhv47CGNFj8/RSvkssLztS0B9iCapHD5OQF/ BPPDqgBcCjrnqQXituTzDDEhGz3xUbVYTjTn8=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FovBGEwF43fZHGl3OFBpySCPdHJtge0/DWWJOyLpseg=; b=Z+7Hj+rebUxnRG8gDPlDDXM6dWhRA7aV7hhY4R5m7P901dgDi2urb6BjqUFw0RWTjq /u1RD+P2zh+1yiVz2r+kuW5Q/8dx+WJ1lBE5+rFZ4fc5NDDlT37ibJzxv3kWIbD4RcGV zotH9LlBEnOEUC9PVCIwy8LZoS5iemuO/siusiYb7RcK+6Izm3+W0kztA2GNZSLpy9vd 7SjA8ffNeFfoHQyvM7WSPSFq4xQxt4ElfJ6KciP6twUMKha7nBL1oLWSERrEllpl/DzX OMfKAuKV9oCaQ3yhkojC2PATrWai47RN/umIuoPbdCE1JBzkBlHBADHruJ12SHxf6BNL OGgA==
X-Gm-Message-State ALyK8tJ4YkaFL13QtKOlB6qRNPFVsQYzATSN4JP+iJO886pF0hkWlJ6yp3WCNRhBPQhm2Brj
X-Received by 10.66.164.133 with SMTP id yq5mr19670863pab.107.1465153472116; Sun, 05 Jun 2016 12:04:32 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23.1 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 10
Organization linux.* mail to news gateway
X-Original-Cc Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Pramod Gurav <pramod.gurav@linaro.org>
X-Original-Date Sun, 5 Jun 2016 14:04:29 -0500
X-Original-Message-ID <20160605190429.GH13357@hector.attlocal.net>
X-Original-References <20160512010228.21548-1-sboyd@codeaurora.org> <20160512010228.21548-3-sboyd@codeaurora.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1414147

Show key headers only | View raw


On Wed, May 11, 2016 at 06:02:27PM -0700, Stephen Boyd wrote:
> The registers that msm_serial_set_mnd_regs() writes only exist on
> the non-uartdm hardware, so let's return early here if this
> function is called on uartdm hardware. This also prevents us from
> messing up the uartclk variable if the uartclk rate happens to be
> 19.2 or 4.8 MHz.
> 
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Acked-by: Andy Gross <andy.gross@linaro.org>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/3] tty: serial: msm: Only configure MND registers on hw  that has it Andy Gross <andy.gross@linaro.org> - 2016-06-05 21:10 +0200

csiph-web